lkml.org 
[lkml]   [2003]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    SubjectRe: [PATCH] More USB fixes for 2.5.67
    From
    Date
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:34    [W:0.019 / U:63.744 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site