diff options
author | Mariusz Kozlowski <m.kozlowski@tuxland.pl> | 2006-11-08 15:36:38 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-12-01 14:23:34 -0800 |
commit | 5505c2261eb5e7a6ff851afbe7f77d54d960e83b (patch) | |
tree | c2889e78196efd65ce79c654a642f5c0065eee3d /drivers/usb/serial | |
parent | 1cadc1378fe9cdee9515842a4bf9f42228448ad2 (diff) | |
download | op-kernel-dev-5505c2261eb5e7a6ff851afbe7f77d54d960e83b.zip op-kernel-dev-5505c2261eb5e7a6ff851afbe7f77d54d960e83b.tar.gz |
usb: kobil_sct kill urb cleanup
- usb_kill_urb() cleanup
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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 8dd2afa..2372899 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) usb_free_urb( port->write_urb ); port->write_urb = NULL; } - if (port->interrupt_in_urb) - usb_kill_urb(port->interrupt_in_urb); + usb_kill_urb(port->interrupt_in_urb); } |