Remove an urb from its endpoint queue
void usb_hcd_unlink_urb_from_ep(struct usb_hcd * hcd, struct urb * urb);
hcd
host controller to which urb was submitted
urb
URB being unlinked
Host controller drivers should call this routine before calling usb_hcd_giveback_urb. The HCD's private spinlock must be held and interrupts must be disabled. The actions carried out here are required for URB completion.