projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73135bb
)
usb: navman kill urb cleanup
author
Mariusz Kozlowski
<m.kozlowski@tuxland.pl>
Wed, 8 Nov 2006 14:36:46 +0000
(15:36 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 1 Dec 2006 22:23:35 +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/navman.c
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/navman.c
b/drivers/usb/serial/navman.c
index
0610409
..
054abee
100644
(file)
--- a/
drivers/usb/serial/navman.c
+++ b/
drivers/usb/serial/navman.c
@@
-95,8
+95,7
@@
static void navman_close(struct usb_serial_port *port, struct file *filp)
{
dbg("%s - port %d", __FUNCTION__, port->number);
- if (port->interrupt_in_urb)
- usb_kill_urb(port->interrupt_in_urb);
+ usb_kill_urb(port->interrupt_in_urb);
}
static int navman_write(struct usb_serial_port *port,