diff options
-rw-r--r-- | drivers/usb/host/isp116x-hcd.c | 6 | ||||
-rw-r--r-- | drivers/usb/host/sl811-hcd.c | 10 |
2 files changed, 0 insertions, 16 deletions
diff --git a/drivers/usb/host/isp116x-hcd.c b/drivers/usb/host/isp116x-hcd.c index d5027dc75a57..f2b5d6281c5d 100644 --- a/drivers/usb/host/isp116x-hcd.c +++ b/drivers/usb/host/isp116x-hcd.c | |||
@@ -815,12 +815,6 @@ static int isp116x_urb_enqueue(struct usb_hcd *hcd, | |||
815 | } | 815 | } |
816 | } | 816 | } |
817 | 817 | ||
818 | /* in case of unlink-during-submit */ | ||
819 | if (urb->status != -EINPROGRESS) { | ||
820 | finish_request(isp116x, ep, urb); | ||
821 | ret = 0; | ||
822 | goto fail; | ||
823 | } | ||
824 | urb->hcpriv = hep; | 818 | urb->hcpriv = hep; |
825 | start_atl_transfers(isp116x); | 819 | start_atl_transfers(isp116x); |
826 | 820 | ||
diff --git a/drivers/usb/host/sl811-hcd.c b/drivers/usb/host/sl811-hcd.c index 3d3a63d002c5..15a93f946afd 100644 --- a/drivers/usb/host/sl811-hcd.c +++ b/drivers/usb/host/sl811-hcd.c | |||
@@ -957,17 +957,7 @@ static int sl811h_urb_enqueue( | |||
957 | sofirq_on(sl811); | 957 | sofirq_on(sl811); |
958 | } | 958 | } |
959 | 959 | ||
960 | /* in case of unlink-during-submit */ | ||
961 | spin_lock(&urb->lock); | ||
962 | if (urb->status != -EINPROGRESS) { | ||
963 | spin_unlock(&urb->lock); | ||
964 | finish_request(sl811, ep, urb, 0); | ||
965 | retval = 0; | ||
966 | goto fail; | ||
967 | } | ||
968 | urb->hcpriv = hep; | 960 | urb->hcpriv = hep; |
969 | spin_unlock(&urb->lock); | ||
970 | |||
971 | start_transfer(sl811); | 961 | start_transfer(sl811); |
972 | sl811_write(sl811, SL11H_IRQ_ENABLE, sl811->irq_enable); | 962 | sl811_write(sl811, SL11H_IRQ_ENABLE, sl811->irq_enable); |
973 | fail: | 963 | fail: |