|
@@ -1203,8 +1203,6 @@ static int usblp_suspend (struct usb_interface *intf, pm_message_t message)
|
|
down (&usblp->sem);
|
|
down (&usblp->sem);
|
|
/* we take no more IO */
|
|
/* we take no more IO */
|
|
usblp->sleeping = 1;
|
|
usblp->sleeping = 1;
|
|
- /* we wait for anything printing */
|
|
|
|
- wait_event (usblp->wait, usblp->wcomplete || !usblp->present);
|
|
|
|
usblp_unlink_urbs(usblp);
|
|
usblp_unlink_urbs(usblp);
|
|
up (&usblp->sem);
|
|
up (&usblp->sem);
|
|
mutex_unlock (&usblp_mutex);
|
|
mutex_unlock (&usblp_mutex);
|