usb_ep_free_request - frees a request object
void usb_ep_free_request (struct usb_ep * ep, struct usb_request * req);
ep the endpoint associated with the request req the request being freed
Reverses the effect of usb_ep_alloc_request. Caller guarantees the request is not queued, and that it will no longer be requeued (or otherwise used).
David Brownell <email@example.com>.