Skip to content

Commit

Permalink
V4L/DVB (7404): saa7134.h: Remove unnecessary validation
Browse files Browse the repository at this point in the history
Removed unnecessary VIDIOC_G_PRIORITY validation.

Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Douglas Schilling Landgraf authored and Mauro Carvalho Chehab committed Apr 24, 2008
1 parent 078ff79 commit 8be38c8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/media/video/saa7134/saa7134.h
Original file line number Diff line number Diff line change
Expand Up @@ -388,9 +388,7 @@ struct saa7134_fh {
unsigned int radio;
enum v4l2_buf_type type;
unsigned int resources;
#ifdef VIDIOC_G_PRIORITY
enum v4l2_priority prio;
#endif

/* video overlay */
struct v4l2_window win;
Expand Down Expand Up @@ -462,9 +460,7 @@ struct saa7134_dev {
struct list_head devlist;
struct mutex lock;
spinlock_t slock;
#ifdef VIDIOC_G_PRIORITY
struct v4l2_prio_state prio;
#endif
/* workstruct for loading modules */
struct work_struct request_module_wk;

Expand Down

0 comments on commit 8be38c8

Please sign in to comment.