From: Mariusz Kozlowski Date: Wed, 8 Nov 2006 14:36:46 +0000 (+0100) Subject: usb: navman kill urb cleanup X-Git-Tag: v2.6.20-rc2~6^2~13^2~477^2~35 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9aac10ff1d9a228d05491f68f933cf6a41b9debc;p=linux-2.6-omap-h63xx.git usb: navman kill urb cleanup - usb_kill_urb() cleanup Signed-off-by: Mariusz Kozlowski Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/serial/navman.c b/drivers/usb/serial/navman.c index 0610409a656..054abee8165 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,