USB: kl5kusb105: remove unnecessary urb kill on close

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>
This commit is contained in:
Johan Hovold 2013-03-21 12:36:19 +01:00 committed by Greg Kroah-Hartman
parent 4cba98ff87
commit 6f60b34c4d

View File

@ -360,9 +360,6 @@ static void klsi_105_close(struct usb_serial_port *port)
/* shutdown our bulk reads and writes */ /* shutdown our bulk reads and writes */
usb_serial_generic_close(port); 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 /* We need to write a complete 64-byte data block and encode the