USB: sierra: remove unused variable
authorJohan Hovold <jhovold@gmail.com>
Mon, 26 May 2014 17:23:00 +0000 (19:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 22:04:04 +0000 (15:04 -0700)
Remove unused variable from sierra_release_urb.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/sierra.c

index 169899f5f2e6422fa0de38ca24f54069a4d0a13a..fa0b78ad42d7f6d7bc7e8480786d9380a3dc11be 100644 (file)
@@ -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);
        }