Commit 5505c226 authored by Mariusz Kozlowski's avatar Mariusz Kozlowski Committed by Greg Kroah-Hartman

usb: kobil_sct kill urb cleanup

- usb_kill_urb() cleanup
Signed-off-by: default avatarMariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 1cadc137
...@@ -353,7 +353,6 @@ static void kobil_close (struct usb_serial_port *port, struct file *filp) ...@@ -353,7 +353,6 @@ static void kobil_close (struct usb_serial_port *port, struct file *filp)
usb_free_urb( port->write_urb ); usb_free_urb( port->write_urb );
port->write_urb = NULL; port->write_urb = NULL;
} }
if (port->interrupt_in_urb)
usb_kill_urb(port->interrupt_in_urb); usb_kill_urb(port->interrupt_in_urb);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment