summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/kl5kusb105.c
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2013-03-21 15:36:19 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-26 00:39:22 +0400
commit6f60b34c4db4e5c5004d5d80ae2e1f80ba3fbd77 (patch)
tree3dd242602c41e72d42f7bc178173b3471f12b6e4 /drivers/usb/serial/kl5kusb105.c
parent4cba98ff877043aeb92e86102b0250b312ddf017 (diff)
downloadlinux-6f60b34c4db4e5c5004d5d80ae2e1f80ba3fbd77.tar.xz
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>
Diffstat (limited to 'drivers/usb/serial/kl5kusb105.c')
-rw-r--r--drivers/usb/serial/kl5kusb105.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/serial/kl5kusb105.c b/drivers/usb/serial/kl5kusb105.c
index 769d910ae0a5..57fd00194f7f 100644
--- a/drivers/usb/serial/kl5kusb105.c
+++ b/drivers/usb/serial/kl5kusb105.c
@@ -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