diff options
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r-- | drivers/usb/serial/kobil_sct.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/serial/kobil_sct.c b/drivers/usb/serial/kobil_sct.c index 8dd2afa2fca8..237289920f03 100644 --- a/drivers/usb/serial/kobil_sct.c +++ b/drivers/usb/serial/kobil_sct.c | |||
@@ -353,8 +353,7 @@ static void kobil_close (struct usb_serial_port *port, struct file *filp) | |||
353 | usb_free_urb( port->write_urb ); | 353 | usb_free_urb( port->write_urb ); |
354 | port->write_urb = NULL; | 354 | port->write_urb = NULL; |
355 | } | 355 | } |
356 | if (port->interrupt_in_urb) | 356 | usb_kill_urb(port->interrupt_in_urb); |
357 | usb_kill_urb(port->interrupt_in_urb); | ||
358 | } | 357 | } |
359 | 358 | ||
360 | 359 | ||