forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
73135bb915
commit
9aac10ff1d
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user