aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/class/usblp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/class/usblp.c')
-rw-r--r--drivers/usb/class/usblp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/class/usblp.c b/drivers/usb/class/usblp.c
index 16353b661a04..6303970e93c1 100644
--- a/drivers/usb/class/usblp.c
+++ b/drivers/usb/class/usblp.c
@@ -1203,8 +1203,6 @@ static int usblp_suspend (struct usb_interface *intf, pm_message_t message)
1203 down (&usblp->sem); 1203 down (&usblp->sem);
1204 /* we take no more IO */ 1204 /* we take no more IO */
1205 usblp->sleeping = 1; 1205 usblp->sleeping = 1;
1206 /* we wait for anything printing */
1207 wait_event (usblp->wait, usblp->wcomplete || !usblp->present);
1208 usblp_unlink_urbs(usblp); 1206 usblp_unlink_urbs(usblp);
1209 up (&usblp->sem); 1207 up (&usblp->sem);
1210 mutex_unlock (&usblp_mutex); 1208 mutex_unlock (&usblp_mutex);