Commit 8be38c81 authored by Douglas Schilling Landgraf's avatar Douglas Schilling Landgraf Committed by Mauro Carvalho Chehab

V4L/DVB (7404): saa7134.h: Remove unnecessary validation

Removed unnecessary VIDIOC_G_PRIORITY validation.
Signed-off-by: default avatarDouglas Schilling Landgraf <dougsland@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 078ff795
...@@ -388,9 +388,7 @@ struct saa7134_fh { ...@@ -388,9 +388,7 @@ struct saa7134_fh {
unsigned int radio; unsigned int radio;
enum v4l2_buf_type type; enum v4l2_buf_type type;
unsigned int resources; unsigned int resources;
#ifdef VIDIOC_G_PRIORITY
enum v4l2_priority prio; enum v4l2_priority prio;
#endif
/* video overlay */ /* video overlay */
struct v4l2_window win; struct v4l2_window win;
...@@ -462,9 +460,7 @@ struct saa7134_dev { ...@@ -462,9 +460,7 @@ struct saa7134_dev {
struct list_head devlist; struct list_head devlist;
struct mutex lock; struct mutex lock;
spinlock_t slock; spinlock_t slock;
#ifdef VIDIOC_G_PRIORITY
struct v4l2_prio_state prio; struct v4l2_prio_state prio;
#endif
/* workstruct for loading modules */ /* workstruct for loading modules */
struct work_struct request_module_wk; struct work_struct request_module_wk;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment