summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/isp116x-hcd.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2007-08-16 16:17:49 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2007-10-12 14:55:16 -0700
commite39ab592f182cd0be48acc4ad49f93ef4100017c (patch)
tree5decd15d20fac5a8fbc33d7eeed66b6cb9d9725c /drivers/usb/host/isp116x-hcd.c
parentf311cf58bd04adc683067f8d66daa5925b80f082 (diff)
downloadop-kernel-dev-e39ab592f182cd0be48acc4ad49f93ef4100017c.zip
op-kernel-dev-e39ab592f182cd0be48acc4ad49f93ef4100017c.tar.gz
USB: remove unnecessary tests in isp116x and sl811
This patch (as962) cleans up some code I forgot to remove earlier in the isp116x and sl811 HCDs. There is no longer any need to check for unlink-during-submit; it can't happen since the endpoint queues are now under the protection of the HCD-private spinlock. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> CC: David Brownell <david-b@pacbell.net> CC: Olav Kongas <ok@artecdesign.ee> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/isp116x-hcd.c')
-rw-r--r--drivers/usb/host/isp116x-hcd.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/usb/host/isp116x-hcd.c b/drivers/usb/host/isp116x-hcd.c
index d5027dc7..f2b5d62 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,
}
}
- /* in case of unlink-during-submit */
- if (urb->status != -EINPROGRESS) {
- finish_request(isp116x, ep, urb);
- ret = 0;
- goto fail;
- }
urb->hcpriv = hep;
start_atl_transfers(isp116x);
OpenPOWER on IntegriCloud