diff options
Diffstat (limited to 'drivers/usb/serial/ftdi_sio.c')
-rw-r--r-- | drivers/usb/serial/ftdi_sio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index 88ed5c1d236c..72e4d48f51e9 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c | |||
@@ -1390,8 +1390,7 @@ static void ftdi_close (struct usb_serial_port *port, struct file *filp) | |||
1390 | flush_scheduled_work(); | 1390 | flush_scheduled_work(); |
1391 | 1391 | ||
1392 | /* shutdown our bulk read */ | 1392 | /* shutdown our bulk read */ |
1393 | if (port->read_urb) | 1393 | usb_kill_urb(port->read_urb); |
1394 | usb_kill_urb(port->read_urb); | ||
1395 | } /* ftdi_close */ | 1394 | } /* ftdi_close */ |
1396 | 1395 | ||
1397 | 1396 | ||