Commit 6f60b34c authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman
Browse files

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: default avatarJohan Hovold <jhovold@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4cba98ff
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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