Re: [PATCH] More USB fixes for 2.5.67

Greg KH (greg@kroah.com)
Wed, 16 Apr 2003 23:05:05 -0700


ChangeSet 1.1066, 2003/04/14 21:24:10-07:00, greg@kroah.com

[PATCH] USB: io_edgeport: stop unlinking a urb that we don't need to unlink.

diff -Nru a/drivers/usb/serial/io_edgeport.c b/drivers/usb/serial/io_edgeport.c
--- a/drivers/usb/serial/io_edgeport.c Wed Apr 16 10:48:29 2003
+++ b/drivers/usb/serial/io_edgeport.c Wed Apr 16 10:48:29 2003
@@ -962,9 +962,8 @@
kfree(urb->transfer_buffer);
}

- // Free the command urb
- usb_unlink_urb (urb);
- usb_free_urb (urb);
+ /* Free the command urb */
+ usb_free_urb (urb);

if (port_paranoia_check (edge_port->port, __FUNCTION__)) {
return;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/