summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2013-03-21 12:36:20 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-25 13:39:22 -0700
commit83e86c79a61d4098aa3e53bb919adfe0c4c34461 (patch)
tree9042df0b52c0a38f4e630f2e51a4a3259c7305e8
parent6f60b34c4db4e5c5004d5d80ae2e1f80ba3fbd77 (diff)
downloadop-kernel-dev-83e86c79a61d4098aa3e53bb919adfe0c4c34461.zip
op-kernel-dev-83e86c79a61d4098aa3e53bb919adfe0c4c34461.tar.gz
USB: iuu_phoenix: 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>
-rw-r--r--drivers/usb/serial/iuu_phoenix.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/serial/iuu_phoenix.c b/drivers/usb/serial/iuu_phoenix.c
index ff77027..a3bfcb3 100644
--- a/drivers/usb/serial/iuu_phoenix.c
+++ b/drivers/usb/serial/iuu_phoenix.c
@@ -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);
}
}
OpenPOWER on IntegriCloud