diff options
-rw-r--r-- | drivers/usb/gadget/s3c-hsotg.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/usb/gadget/s3c-hsotg.c b/drivers/usb/gadget/s3c-hsotg.c index 6be424e2cc60..ea38d3067801 100644 --- a/drivers/usb/gadget/s3c-hsotg.c +++ b/drivers/usb/gadget/s3c-hsotg.c | |||
@@ -2447,11 +2447,6 @@ static int s3c_hsotg_ep_dequeue(struct usb_ep *ep, struct usb_request *req) | |||
2447 | 2447 | ||
2448 | dev_info(hs->dev, "ep_dequeue(%p,%p)\n", ep, req); | 2448 | dev_info(hs->dev, "ep_dequeue(%p,%p)\n", ep, req); |
2449 | 2449 | ||
2450 | if (hs_req == hs_ep->req) { | ||
2451 | dev_dbg(hs->dev, "%s: already in progress\n", __func__); | ||
2452 | return -EINPROGRESS; | ||
2453 | } | ||
2454 | |||
2455 | spin_lock_irqsave(&hs_ep->lock, flags); | 2450 | spin_lock_irqsave(&hs_ep->lock, flags); |
2456 | 2451 | ||
2457 | if (!on_list(hs_ep, hs_req)) { | 2452 | if (!on_list(hs_ep, hs_req)) { |