usb_hcd_unlink_urb_from_ep — remove an URB from its endpoint queue
host controller to which urb was submitted
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.