Skip to content
Commit 207681fc authored by YueHaibing's avatar YueHaibing Committed by Marc Kleine-Budde
Browse files

can: ucan: remove set but not used variable 'udev'



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: default avatarYueHaibing <yuehaibing@huawei.com>
Reviewed-by: default avatarMartin Elshuber <martin.elshuber@theobroma-systems.com>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent e13fb9b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment