Skip to content

Commit

Permalink
usb: ftdi_sio kill urb cleanup
Browse files Browse the repository at this point in the history
- usb_kill_urb() cleanup

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Mariusz Kozlowski authored and Greg Kroah-Hartman committed Dec 1, 2006
1 parent 5483eb1 commit 794c944
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/usb/serial/ftdi_sio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1388,8 +1388,7 @@ static void ftdi_close (struct usb_serial_port *port, struct file *filp)
flush_scheduled_work();

/* shutdown our bulk read */
if (port->read_urb)
usb_kill_urb(port->read_urb);
usb_kill_urb(port->read_urb);
} /* ftdi_close */


Expand Down

0 comments on commit 794c944

Please sign in to comment.