Commit f73f55fb authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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

parent ea2e77c8
......@@ -962,9 +962,8 @@ static void edge_bulk_out_cmd_callback (struct urb *urb, struct pt_regs *regs)
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;
......
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