ChangeSet 1.1123.18.2, 2003/08/11 15:11:46-07:00, oliver@neukum.org

[PATCH] USB: return to old timeout handling

it seems that I've broken usblp. This reverts to the old
behaviour. Please apply.

  - revert to old timeout handling


 drivers/usb/class/usblp.c |    6 ------
 1 files changed, 6 deletions(-)


diff -Nru a/drivers/usb/class/usblp.c b/drivers/usb/class/usblp.c
--- a/drivers/usb/class/usblp.c	Fri Aug 15 10:48:41 2003
+++ b/drivers/usb/class/usblp.c	Fri Aug 15 10:48:41 2003
@@ -626,12 +626,6 @@
 				}
 			}
 			remove_wait_queue(&usblp->wait, &wait);
-			if (!timeout) {
-				/* we timed out and need to bail out cleanly */
-				usb_unlink_urb(usblp->writeurb);
-				return writecount ? writecount : -EIO;
-			}
-
 		}
 
 		down (&usblp->sem);
