]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
USB: kl5kusb105: remove unnecessary urb kill on close
authorJohan Hovold <jhovold@gmail.com>
Thu, 21 Mar 2013 11:36:19 +0000 (12:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 20:39:22 +0000 (13:39 -0700)
Remove kill of interrupt-in urb on close as it has never been submitted.

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

index 769d910ae0a5d789cf933659867fee715fc6be8a..57fd00194f7f16dec3d32a61b0056c9823ce5703 100644 (file)
@@ -360,9 +360,6 @@ static void klsi_105_close(struct usb_serial_port *port)
 
        /* shutdown our bulk reads and writes */
        usb_serial_generic_close(port);
-
-       /* wgg - do I need this? I think so. */
-       usb_kill_urb(port->interrupt_in_urb);
 }
 
 /* We need to write a complete 64-byte data block and encode the