diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2017-01-09 10:41:34 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-02-03 10:40:20 -0500 |
commit | 3f7060887294339eaa60e3399cf7ff4d36620395 (patch) | |
tree | ea5696ea78b00be6ed1cd8574dd49d8fd5a58939 /drivers/media/usb/usbvision/usbvision-core.c | |
parent | 1059b687d002526452366b2307b2f94e30dd59cf (diff) |
[media] media/usbvision: remove ctrl_urb_wq
While the wakeup path seems to be set up, this waitqueue is actually
never used as no-one enqueues themselves on the list. As such, wakeups
are meaningless without waiters, so lets just get rid of the whole
thing.
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/usb/usbvision/usbvision-core.c')
-rw-r--r-- | drivers/media/usb/usbvision/usbvision-core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/usb/usbvision/usbvision-core.c b/drivers/media/usb/usbvision/usbvision-core.c index 0af713066825..3f87fbc80be2 100644 --- a/drivers/media/usb/usbvision/usbvision-core.c +++ b/drivers/media/usb/usbvision/usbvision-core.c | |||
@@ -1413,8 +1413,6 @@ static void usbvision_ctrl_urb_complete(struct urb *urb) | |||
1413 | 1413 | ||
1414 | PDEBUG(DBG_IRQ, ""); | 1414 | PDEBUG(DBG_IRQ, ""); |
1415 | usbvision->ctrl_urb_busy = 0; | 1415 | usbvision->ctrl_urb_busy = 0; |
1416 | if (waitqueue_active(&usbvision->ctrl_urb_wq)) | ||
1417 | wake_up_interruptible(&usbvision->ctrl_urb_wq); | ||
1418 | } | 1416 | } |
1419 | 1417 | ||
1420 | 1418 | ||