diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2014-11-18 16:47:06 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2014-11-18 18:52:18 +0300 |
commit | 4e2061b1e1f6b8e698b36a6518b6f8c15edc4547 (patch) | |
tree | 0e6a35bca7ceeb843ae21fc29be280a398b7b43f /drivers/net/can/usb/ems_usb.c | |
parent | efbd50d2f62fc1f69a3dcd153e63ba28cc8eb27f (diff) | |
download | linux-4e2061b1e1f6b8e698b36a6518b6f8c15edc4547.tar.xz |
can: remove unused variable
these variable were only assigned some values, but then never
reused again.
so they are safe to be removed.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/usb/ems_usb.c')
-rw-r--r-- | drivers/net/can/usb/ems_usb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/can/usb/ems_usb.c b/drivers/net/can/usb/ems_usb.c index 00f2534dde73..29d3f0938eb8 100644 --- a/drivers/net/can/usb/ems_usb.c +++ b/drivers/net/can/usb/ems_usb.c @@ -434,10 +434,9 @@ static void ems_usb_read_bulk_callback(struct urb *urb) if (urb->actual_length > CPC_HEADER_SIZE) { struct ems_cpc_msg *msg; u8 *ibuf = urb->transfer_buffer; - u8 msg_count, again, start; + u8 msg_count, start; msg_count = ibuf[0] & ~0x80; - again = ibuf[0] & 0x80; start = CPC_HEADER_SIZE; |