Thread (4 messages) 4 messages, 3 authors, 2018-09-27

Re: [PATCH can-next] can: ucan: remove set but not used variable 'udev'

From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: 2018-09-27 10:37:50
Also in: kernel-janitors, linux-can

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 <redacted>
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   |

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help