can: pcan_usb: pcan_usb_fd_send_cmd(): silence compiler warning about uninitialized var
authorMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 1 Apr 2015 09:49:59 +0000 (11:49 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 1 Apr 2015 09:49:59 +0000 (11:49 +0200)
commit79d5eeddd7d23bd4588e370072977928b7075911
tree8192ec5ba334cd49e5d418c665568db85bd78e65
parenta5581ef4c2eac6449188862e903eb46c7233582a
can: pcan_usb: pcan_usb_fd_send_cmd(): silence compiler warning about uninitialized var

This patch silences the compiler warning:

drivers/net/can/usb/peak_usb/pcan_usb_fd.c: In function 'pcan_usb_fd_send_cmd':
drivers/net/can/usb/peak_usb/pcan_usb_fd.c:185:6: warning: 'err' may be used uninitialized in this function [-Wuninitialized]

by initialising the variable as 0.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/peak_usb/pcan_usb_fd.c