Browse Source

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

Removed unnecessary VIDIOC_G_PRIORITY validation.

Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Douglas Schilling Landgraf 17 years ago
parent
commit
8be38c815e
1 changed files with 0 additions and 4 deletions
  1. 0 4
      drivers/media/video/saa7134/saa7134.h

+ 0 - 4
drivers/media/video/saa7134/saa7134.h

@@ -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 {
 	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;