提交 83e86c79 编写于 作者: J Johan Hovold 提交者: Greg Kroah-Hartman

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: NJohan Hovold <jhovold@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 6f60b34c
...@@ -957,7 +957,6 @@ static void iuu_close(struct usb_serial_port *port) ...@@ -957,7 +957,6 @@ static void iuu_close(struct usb_serial_port *port)
dev_dbg(&port->dev, "%s - shutting down urbs\n", __func__); dev_dbg(&port->dev, "%s - shutting down urbs\n", __func__);
usb_kill_urb(port->write_urb); usb_kill_urb(port->write_urb);
usb_kill_urb(port->read_urb); usb_kill_urb(port->read_urb);
usb_kill_urb(port->interrupt_in_urb);
iuu_led(port, 0, 0, 0xF000, 0xFF); iuu_led(port, 0, 0, 0xF000, 0xFF);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册