diff options
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r-- | drivers/usb/serial/generic.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/serial/generic.c b/drivers/usb/serial/generic.c index 664deb63807c..f6c63d3044f5 100644 --- a/drivers/usb/serial/generic.c +++ b/drivers/usb/serial/generic.c | |||
@@ -144,7 +144,6 @@ static void generic_cleanup(struct usb_serial_port *port) | |||
144 | if (serial->dev) { | 144 | if (serial->dev) { |
145 | /* shutdown any bulk transfers that might be going on */ | 145 | /* shutdown any bulk transfers that might be going on */ |
146 | if (port->bulk_out_size) { | 146 | if (port->bulk_out_size) { |
147 | usb_kill_urb(port->write_urb); | ||
148 | for (i = 0; i < ARRAY_SIZE(port->write_urbs); ++i) | 147 | for (i = 0; i < ARRAY_SIZE(port->write_urbs); ++i) |
149 | usb_kill_urb(port->write_urbs[i]); | 148 | usb_kill_urb(port->write_urbs[i]); |
150 | 149 | ||