forked from Minki/linux
usb: kobil_sct 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
1cadc1378f
commit
5505c2261e
@ -353,8 +353,7 @@ static void kobil_close (struct usb_serial_port *port, struct file *filp)
|
||||
usb_free_urb( port->write_urb );
|
||||
port->write_urb = NULL;
|
||||
}
|
||||
if (port->interrupt_in_urb)
|
||||
usb_kill_urb(port->interrupt_in_urb);
|
||||
usb_kill_urb(port->interrupt_in_urb);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user