---
name: "usb_hcd_unlink_urb_from_ep"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/usb_hcd_unlink_urb_from_ep"
---

# usb\_hcd\_unlink\_urb\_from\_ep(9)

remove an URB from its endpoint queue

## NAME

usb\_hcd\_unlink\_urb\_from\_ep - remove an URB from its endpoint queue

## SYNOPSIS

**void usb\_hcd\_unlink\_urb\_from\_ep(struct usb\_hcd \*** *hcd***, struct urb \*** *urb***);**

## ARGUMENTS

*hcd*

host controller to which *urb* was submitted

*urb*

URB being unlinked

## DESCRIPTION

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.

## COPYRIGHT
