Received: by 10.223.164.202 with SMTP id h10csp1060985wrb; Wed, 15 Nov 2017 12:29:20 -0800 (PST) X-Google-Smtp-Source: AGs4zMbrVZ4PC1+ocTbVjWaCYPLIVg79XCDKP+zQmuTzD987DaOmNdk/JzpvsdW/LOtI3j9TgiIW X-Received: by 10.159.229.136 with SMTP id az8mr17172317plb.423.1510777760715; Wed, 15 Nov 2017 12:29:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510777760; cv=none; d=google.com; s=arc-20160816; b=nFEhShqv7B/KHthPiSsr55Pf0X98kzR7xZMcAtg7befUXZWMwFqPunHjgPdYSQWT0a +DnpqN7DPfg0+pnmq1Z6eH7I7nSBEB79BONOCT1N6UcqRd5X/xz8pkkHIQP5pukg7Zcc jK/FGFs8RSAXOLsLA26ytqelkQVZtJMFnlJ2FW4Rn8j3464WuKJZ5476a2hZZ0txmueH I52DtpA75wEwKAHcGvtA8SsRD0pZN9ysMnNDzyDJqP1Ym2hd2G9+m8/NMcv6wtDT3mu3 c8Iv3lBx4JAP+TKdgCyI56wfvQjrKxO/XwPcC/7HVQly/foNToNg68PkkVL0FZM6AMWn y/yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=nFTcVgojzDojQw7lt7Nn8d52CoyV8lG8yo6xElm+L9A=; b=n/KfU221uLs+2/oQBRRVfmcpMq4XtRhCGTspEJ5qSA6pOsEJvh5GuFvr/gRqfzxtkd ZPx/xOF4nfd5aYP7/8FKYUd4yqMjgcpo9bgCqV9xx0SVArJfHjLmTBwj9G8XQ3N3Qr7f C56B0q4ibP/IQ0Uaak6S1DQuuTaTJjBLljHpfdZvFaZgYTBoPrm4CxEninRo5TzCxGcV H77O55Hxz7u+N5VIUU+wZBzjEhEzZmt0WRHP9mtGwqELFD3z9ICbd2B4LGIsrAcZG3dA ebALKsQSfAVXFFOJ2yFgkLUqI9J2jZ7euGLNqFxLcJIfQtORwe/pm8uCBjPbU9qcZfRo k2Vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=yjZ44S3h; 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 p4si17885345pga.269.2017.11.15.12.29.08; Wed, 15 Nov 2017 12:29:20 -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=yjZ44S3h; 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 S1758717AbdKOTVT (ORCPT + 89 others); Wed, 15 Nov 2017 14:21:19 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:42102 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753797AbdKOTVC (ORCPT ); Wed, 15 Nov 2017 14:21:02 -0500 Received: by mail-wm0-f66.google.com with SMTP id t139so5159689wmt.1 for ; Wed, 15 Nov 2017 11:21:01 -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:in-reply-to:references; bh=nFTcVgojzDojQw7lt7Nn8d52CoyV8lG8yo6xElm+L9A=; b=yjZ44S3hh1ucJytFmorxf3DC4z7xwdMRMTzpvT2nF3s/+K4nlNc+6Xt1RMMTpLd62C jBIC++LLpJAUW69+MscwtgoY/Yr/l8D/Fa+ijrJNfk9i2jN6AiPuU3s6uelAM3F2bZEb 7Ma/xfk3MJqlUZSe3SFwc0RRRbLwOUpB9Zn8W0g/tGmcx2cxoU94texEAE/de51Jk3hD MvE6cJ9+bSSKmWRL1WPP5UgohOTX9/dQArZCFOD0sHTrSPpFnFqj7oDR0v7nWjwoZBRF 8LnuYIZREXSmWfmJpiPmsmiGukYdes8iiRxACfIGxXOT1zPpfxuMSp/0lformOp4I71G +a1g== 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:in-reply-to :references; bh=nFTcVgojzDojQw7lt7Nn8d52CoyV8lG8yo6xElm+L9A=; b=OGsHYnJ3q9IS8pa3i6MCUXpTx38dcni7GyAoQb9gxYVX36UXooRDrcrVCCPXzpv2Cq Qr9pP83fCgjEoGGnKOkb0PDT7xshDiwqpa5UHmzHWHkTQ8wku0/8louMB4E7p3j5aDwJ gxEj9LJpMG+MDdeobN0Obi84tiS0BeLwIEMgPTG0O2YAHDKZlJFuKsEZoOH3Y4zFLcWi TghWt/LmirbJnR0W3ayY9T/CjubOoXr7C1u+/f3T+5o+W7NAgiZPnIrviBWZOcrWoC5K K8DLfq0bAOQeUeQDfrrEbJFifWHAzt0fNBWisizZ9IopVytttSy3KEBfgVH6EIM+9MCE NvAg== X-Gm-Message-State: AJaThX5ijZrfybDM/EbC+ay08c2XQawSXAcY7vSSIHDzhQ78jVqkZeOE fon+o5sWHZIcr4EPwyKpm7Nmiw== X-Received: by 10.28.0.5 with SMTP id 5mr12192231wma.109.1510773661323; Wed, 15 Nov 2017 11:21:01 -0800 (PST) Received: from localhost.localdomain ([51.15.160.169]) by smtp.googlemail.com with ESMTPSA id q124sm5872982wma.18.2017.11.15.11.21.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Nov 2017 11:21:00 -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 2/2] musb: remove unused pipe variable Date: Wed, 15 Nov 2017 19:20:35 +0000 Message-Id: <1510773635-26468-2-git-send-email-clabbe@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1510773635-26468-1-git-send-email-clabbe@baylibre.com> References: <1510773635-26468-1-git-send-email-clabbe@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch fix the following build warning: drivers/usb/musb/musb_host.c:1809:8: warning: variable 'pipe' set but not used [-Wunused-but-set-variable] by removing the pipe variable in musb_host_rx() Signed-off-by: Corentin Labbe --- drivers/usb/musb/musb_host.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c index aa573ab99384..394b4ac86161 100644 --- a/drivers/usb/musb/musb_host.c +++ b/drivers/usb/musb/musb_host.c @@ -1779,7 +1779,6 @@ void musb_host_rx(struct musb *musb, u8 epnum) struct musb_qh *qh = hw_ep->in_qh; size_t xfer_len; void __iomem *mbase = musb->mregs; - int pipe; u16 rx_csr, val; bool iso_err = false; bool done = false; @@ -1808,8 +1807,6 @@ void musb_host_rx(struct musb *musb, u8 epnum) return; } - pipe = urb->pipe; - trace_musb_urb_rx(musb, urb); /* check for errors, concurrent stall & unlink is not really -- 2.13.6 From 1584396236391017386@xxx Sat Nov 18 09:39:57 +0000 2017 X-GM-THRID: 1584396236391017386 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread