Received: by 10.223.164.202 with SMTP id h10csp1059903wrb; Wed, 15 Nov 2017 12:27:51 -0800 (PST) X-Google-Smtp-Source: AGs4zMZxJcspj3Xu5Mwunyrw/T1pTgqK+K2szFVtu4aDlL/A22wu/84C5zadF3x6aKKiYi5F6SyV X-Received: by 10.101.91.193 with SMTP id o1mr16500494pgr.75.1510777671775; Wed, 15 Nov 2017 12:27:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510777671; cv=none; d=google.com; s=arc-20160816; b=GpxRS93t43FBPYAy3rvWVEbCJIwIisZaFYqTpXfeByXpTVtbd2YyRu2COoCutKkQ7/ A0xhHdKDxYDuAepkOo/VGYkbpEycXKa5na4FKgaafLmF0Hxnty3XcHOAZRd/dr3Li+3s WKPwbKPPb2mL32vwPuGSvyeUFGgB0HO+au48lb0bGIadl9qYPe7jMtvO+qh77hmlKF6l GAz/T2Fg5J3CcIYBFgTA6HgcBzrAZOaupxffKGuo1VTrbUHzch3p9aVgn6Ww9HNwLjRc OidGP0CnUpQ7NRSN0ZdyNZqU5/wTJ4fywpAqn5fA2HkYTdlVMZ2qMA24jCe3U2cg9qyS yMGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=M9g4xtEc+o/rJ7XJqO9D6XbwVrNPEFfJRTy6l3zEdKI=; b=Xqi5J6FWdRlo29XP5eAaz/GSDm/mUsND5aXF9P9LeY9/z4TPvFVr4ats1S96KSgikJ /OOTJITspvaAeyThJAlMH6iUUwgay70zfL45skP+ddhRIWBHXXJ1SGDwMA7FAU5CR5RS 8FOuoJeqj2i5a1BPGlT4HAr26N1uvSgPETfz3jxO47jrHLRoXe4G9W8Wgc//8X/QCeH5 422U4KxD3cyiwHJoBvr8G4IVNm/dsoRtJ/tUBZEIanzZ5r6ed7RxfATd44OXK20rF4dt l0haT/P6E2tlAl2DPK1dby5tqK0aAi+dqyT/IC3sXFPN83yZ2SKqvIBusogc7sNCcsnu u3VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=PgjVyWd+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o88si20403318pfk.294.2017.11.15.12.27.39; Wed, 15 Nov 2017 12:27:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=PgjVyWd+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758402AbdKOTVJ (ORCPT + 89 others); Wed, 15 Nov 2017 14:21:09 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:48906 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753763AbdKOTVB (ORCPT ); Wed, 15 Nov 2017 14:21:01 -0500 Received: by mail-wr0-f193.google.com with SMTP id 15so21343138wrb.5 for ; Wed, 15 Nov 2017 11:21:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=M9g4xtEc+o/rJ7XJqO9D6XbwVrNPEFfJRTy6l3zEdKI=; b=PgjVyWd+VpASMO2qhhD8X8LNFvlyQyfdYiDDJ/ByZiNtU2o+p6sPTcXJbi2c/rU7yA dRz5WoJX758Eco7TzgZifHIj/8aYlN9u+P8WlKAzSbdC15T194Yw2ZepKIl5lvO4lpZN U7QDrmBAg85JK+i6FX0e7l6C2G8W1/GgIouWYtvATWwh0cCaI8AxwFFRwf4Nh1plM2Y/ R+wlAUsXeMMOhO3GWWoaqh/hfjh/n07vUS4X0hC/hArZUaaC28yFjwbFaQc0gY7h9YgP rTOoQCtiqLmVoEegotfsb/a01TIOBdzhSim4tHhJwUSQKPC4IHWo/Qvc03A8eT8EV6vJ thFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=M9g4xtEc+o/rJ7XJqO9D6XbwVrNPEFfJRTy6l3zEdKI=; b=CYY4wljvJUYiaYHe8cbSzxkTMMowse47pAjlQbMbxnx2wHq4xJ8raS965jDmAtnTRG POO44d29GpjIfjLF3meAK5zFiEf7LkrI2DCtzUyiuUQd4UNoPYFYp7mGArIhsyw9O1So SvNzvFgRyGvQhve70m+RbXsifZjTgdmG3WazjLleLzDFLjPQKVMAmugnMTf4DP4TwODr VaDkv1K/uavHlj/L6oHp9iivNqhb5XQwGogbrb8bDvcTBVF+FB1FCPZeJtsPQ6IGAV1W lrkyVqqPeusCLLNK5AB5To9K6wODW51++qs75CM7GSd1cVFTjzSYHIwkEsbPpC4IXJ8v 1mHg== X-Gm-Message-State: AJaThX5t25KnMr7FYwsOa3hDw87L5mOiNc9ef6SrVWS0UeU+eiENUFAE NuDid30p4yvLaeHJfUQ7gFZiVA== X-Received: by 10.223.133.214 with SMTP id 22mr13808090wru.23.1510773660172; Wed, 15 Nov 2017 11:21:00 -0800 (PST) Received: from localhost.localdomain ([51.15.160.169]) by smtp.googlemail.com with ESMTPSA id q124sm5872982wma.18.2017.11.15.11.20.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Nov 2017 11:20:59 -0800 (PST) From: Corentin Labbe To: b-liu@ti.com, gregkh@linuxfoundation.org Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Corentin Labbe Subject: [PATCH 1/2] musb: remove unused frame variable Date: Wed, 15 Nov 2017 19:20:34 +0000 Message-Id: <1510773635-26468-1-git-send-email-clabbe@baylibre.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch fix the following warning drivers/usb/musb/musb_host.c:223:8: warning: variable 'frame' set but not used [-Wunused-but-set-variable] by remove the frame variable in musb_start_urb(). Signed-off-by: Corentin Labbe --- drivers/usb/musb/musb_host.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c index 2627363fb4fe..aa573ab99384 100644 --- a/drivers/usb/musb/musb_host.c +++ b/drivers/usb/musb/musb_host.c @@ -195,7 +195,6 @@ static struct musb_qh *musb_ep_get_qh(struct musb_hw_ep *ep, int is_in) static void musb_start_urb(struct musb *musb, int is_in, struct musb_qh *qh) { - u16 frame; u32 len; void __iomem *mbase = musb->mregs; struct urb *urb = next_urb(qh); @@ -244,7 +243,6 @@ musb_start_urb(struct musb *musb, int is_in, struct musb_qh *qh) case USB_ENDPOINT_XFER_ISOC: case USB_ENDPOINT_XFER_INT: musb_dbg(musb, "check whether there's still time for periodic Tx"); - frame = musb_readw(mbase, MUSB_FRAME); /* FIXME this doesn't implement that scheduling policy ... * or handle framecounter wrapping */ -- 2.13.6 From 1584256489826193577@xxx Thu Nov 16 20:38:44 +0000 2017 X-GM-THRID: 1584229101938777375 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread