mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 06:01:23 +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);
|
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,
|
static int navman_write(struct usb_serial_port *port,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue