/* Dequeues all requests on an endpoint. As a side effect, interrupts will be disabled on that endpoint (because no more requests).  */
static void nuke(struct pxa_ep *ep, int status)
/* Dequeues all requests on an endpoint. As a side effect, interrupts will be disabled on that endpoint (because no more requests).  */
static void nuke(struct pxa_ep *ep, int status)
{
	struct pxa27x_request *req;
	while (!list_empty(&ep->queue)) {
		req = list_entry(ep->queue.next, struct pxa27x_request, queue);
		req_done(ep, req, status);
	}
}