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/esd_usb2.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/esd_usb2.c')
-rw-r--r-- | drivers/net/can/usb/esd_usb2.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/can/usb/esd_usb2.c b/drivers/net/can/usb/esd_usb2.c index 7a90075529c3..c063a54ab8dd 100644 --- a/drivers/net/can/usb/esd_usb2.c +++ b/drivers/net/can/usb/esd_usb2.c @@ -464,7 +464,6 @@ static void esd_usb2_write_bulk_callback(struct urb *urb) { struct esd_tx_urb_context *context = urb->context; struct esd_usb2_net_priv *priv; - struct esd_usb2 *dev; struct net_device *netdev; size_t size = sizeof(struct esd_usb2_msg); @@ -472,7 +471,6 @@ static void esd_usb2_write_bulk_callback(struct urb *urb) priv = context->priv; netdev = priv->netdev; - dev = priv->usb2; /* free up our allocated buffer */ usb_free_coherent(urb->dev, size, |