projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cadc13
)
usb: kobil_sct kill urb cleanup
author
Mariusz Kozlowski
<m.kozlowski@tuxland.pl>
Wed, 8 Nov 2006 14:36:38 +0000
(15:36 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 1 Dec 2006 22:23:34 +0000
(14:23 -0800)
- usb_kill_urb() cleanup
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/kobil_sct.c
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/kobil_sct.c
b/drivers/usb/serial/kobil_sct.c
index 8dd2afa2fca843d02bca7cb92fe3567934a592e6..237289920f03deb7438cda346fbd54966dd34d80 100644
(file)
--- 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);
}