USB: iuu_phoenix: remove unnecessary urb kill on close
authorJohan Hovold <jhovold@gmail.com>
Thu, 21 Mar 2013 11:36:20 +0000 (12:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 20:39:22 +0000 (13:39 -0700)
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>
drivers/usb/serial/iuu_phoenix.c

index ff77027160aab7eca0ac78e4f78ae1c8e7f01877..a3bfcb37f733cd578187690c25a076c4bb54a411 100644 (file)
@@ -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);
        }
 }