mirror of
https://github.com/adulau/aha.git
synced 2025-01-02 14:13:18 +00:00
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
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue