mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 01:51:34 +00:00
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:
parent
4cba98ff87
commit
6f60b34c4d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user