can: ucan: remove set but not used variable 'udev'
authorYueHaibing <yuehaibing@huawei.com>
Wed, 29 Aug 2018 01:46:54 +0000 (01:46 +0000)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 9 Nov 2018 16:20:07 +0000 (17:20 +0100)
commit207681fc5f3d5d398f106d1ae0080fc2373f707a
treedc2da00f881776e31976e48d34953030c8b5659b
parente13fb9b37cc00616b90df2d620f30345b5ada6ff
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: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Martin Elshuber <martin.elshuber@theobroma-systems.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/ucan.c