Skip to content

Commit

Permalink
USB: kl5kusb105: remove unnecessary urb kill on close
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johan Hovold authored and Greg Kroah-Hartman committed Mar 25, 2013
1 parent 4cba98f commit 6f60b34
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/usb/serial/kl5kusb105.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f60b34

Please sign in to comment.