Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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;
@@ -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;