Skip to content

Commit

Permalink
USB: iuu_phoenix: 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 6f60b34 commit 83e86c7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/usb/serial/iuu_phoenix.c
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,6 @@ static void iuu_close(struct usb_serial_port *port)
dev_dbg(&port->dev, "%s - shutting down urbs\n", __func__);
usb_kill_urb(port->write_urb);
usb_kill_urb(port->read_urb);
usb_kill_urb(port->interrupt_in_urb);
iuu_led(port, 0, 0, 0xF000, 0xFF);
}
}
Expand Down

0 comments on commit 83e86c7

Please sign in to comment.