Hello,

- usb_kill_urb() cleanup

Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]>

--- linux-2.6.19-rc4-orig/drivers/usb/serial/io_edgeport.c      2006-11-06 
17:08:21.000000000 +0100
+++ linux-2.6.19-rc4/drivers/usb/serial/io_edgeport.c   2006-11-07 
17:03:34.000000000 +0100
@@ -1038,9 +1038,7 @@ static void edge_close (struct usb_seria
        edge_port->open = FALSE;
        edge_port->openPending = FALSE;
 
-       if (edge_port->write_urb) {
-               usb_kill_urb(edge_port->write_urb);
-       }
+       usb_kill_urb(edge_port->write_urb);
 
        if (edge_port->write_urb) {
                /* if this urb had a transfer buffer already (old transfer) 
free it */

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to