mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 08:34:20 +08:00
[media] usbvision: drop unused define USBVISION_SAY_AND_WAIT
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>
This commit is contained in:
parent
9fd9330c2d
commit
3857fcdee9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user