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:
c69694b
)
usb: io_edgeport kill urb cleanup
author
Mariusz Kozlowski
<m.kozlowski@tuxland.pl>
Wed, 8 Nov 2006 14:36:29 +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/io_edgeport.c
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/io_edgeport.c
b/drivers/usb/serial/io_edgeport.c
index 91bd3014ef1eb6b1a6d9060aecd05946d588d90f..d06547a13f2823c85106099ab18361b3e4d866f2 100644
(file)
--- a/
drivers/usb/serial/io_edgeport.c
+++ b/
drivers/usb/serial/io_edgeport.c
@@
-1038,9
+1038,7
@@
static void edge_close (struct usb_serial_port *port, struct file * filp)
edge_port->open = FALSE;
edge_port->openPending = FALSE;
- if (edge_port->write_urb) {
- usb_kill_urb(edge_port->write_urb);
- }
+ usb_kill_urb(edge_port->write_urb);
if (edge_port->write_urb) {
/* if this urb had a transfer buffer already (old transfer) free it */