diff options
author | Johan Hovold <jhovold@gmail.com> | 2014-05-26 19:23:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-27 15:04:04 -0700 |
commit | bc03cfe84d833a49a0a0a6d5e45fc84169f48e30 (patch) | |
tree | d2bf18a3db238fdcf43df214366d997d11d81710 /drivers | |
parent | 21aa1c41dbe820ec7d2271f3e675eb1be2320245 (diff) | |
download | op-kernel-dev-bc03cfe84d833a49a0a0a6d5e45fc84169f48e30.zip op-kernel-dev-bc03cfe84d833a49a0a0a6d5e45fc84169f48e30.tar.gz |
USB: sierra: remove unused variable
Remove unused variable from sierra_release_urb.
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/serial/sierra.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/serial/sierra.c b/drivers/usb/serial/sierra.c index 169899f..fa0b78a 100644 --- a/drivers/usb/serial/sierra.c +++ b/drivers/usb/serial/sierra.c @@ -419,9 +419,7 @@ static int sierra_tiocmset(struct tty_struct *tty, static void sierra_release_urb(struct urb *urb) { - struct usb_serial_port *port; if (urb) { - port = urb->context; kfree(urb->transfer_buffer); usb_free_urb(urb); } |