diff options
author | Mariusz Kozlowski <m.kozlowski@tuxland.pl> | 2006-11-08 15:36:46 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-12-01 14:23:35 -0800 |
commit | 9aac10ff1d9a228d05491f68f933cf6a41b9debc (patch) | |
tree | 4f652d9d5bc1888c5385152591f2c271e9243d53 | |
parent | 73135bb9154f9565e8ae294ffa73f9e871d72b47 (diff) | |
download | op-kernel-dev-9aac10ff1d9a228d05491f68f933cf6a41b9debc.zip op-kernel-dev-9aac10ff1d9a228d05491f68f933cf6a41b9debc.tar.gz |
usb: navman 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>
-rw-r--r-- | drivers/usb/serial/navman.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/serial/navman.c b/drivers/usb/serial/navman.c index 0610409..054abee 100644 --- 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, |