[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2f22c7ba-398d-5df0-682f-b4b289475d16@pengutronix.de>
Date: Thu, 27 Sep 2018 12:37:50 +0200
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: YueHaibing <yuehaibing@...wei.com>,
Wolfgang Grandegger <wg@...ndegger.com>,
"David S. Miller" <davem@...emloft.net>,
Martin Elshuber <martin.elshuber@...obroma-systems.com>,
Jakob Unterwurzacher <jakob.unterwurzacher@...obroma-systems.com>,
Philipp Tomsich <philipp.tomsich@...obroma-systems.com>
Cc: linux-can@...r.kernel.org, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH can-next] can: ucan: remove set but not used variable
'udev'
On 08/29/2018 03:46 AM, YueHaibing wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/can/usb/ucan.c: In function 'ucan_disconnect':
> drivers/net/can/usb/ucan.c:1578:21: warning:
> variable 'udev' set but not used [-Wunused-but-set-variable]
> struct usb_device *udev;
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied to linux-can.
tnx.
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists