[media] usbvision: drop unused define USBVISION_SAY_AND_WAIT
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 17 Jan 2014 10:27:27 +0000 (07:27 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 4 Feb 2014 11:52:39 +0000 (09:52 -0200)
This define uses the deprecated interruptible_sleep_on_timeout
function. Since this define is unused anyway we just remove it.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/usbvision/usbvision.h

index 8a25876d72c601eaca1b820319129810daf9f313..a0c73cf1517c7ef06c4702a8827f8cff96ca2afa 100644 (file)
@@ -203,14 +203,6 @@ enum {
        mr = LIMIT_RGB(mm_r); \
 }
 
-/* Debugging aid */
-#define USBVISION_SAY_AND_WAIT(what) { \
-       wait_queue_head_t wq; \
-       init_waitqueue_head(&wq); \
-       printk(KERN_INFO "Say: %s\n", what); \
-       interruptible_sleep_on_timeout(&wq, HZ * 3); \
-}
-
 /*
  * This macro checks if usbvision is still operational. The 'usbvision'
  * pointer must be valid, usbvision->dev must be valid, we are not