aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2010-05-01 07:00:18 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 11:58:53 -0400
commit530d2d32068eaf3616e0ce9e58a5fde5701c3380 (patch)
tree845ef4a843f1083488a665c8081ae6767b1621fa /drivers/media
parentb4162f4a40a9518612436ff2233abdd6b5e28d2a (diff)
V4L/DVB: bttv: remove bogus prio check in g_frequency
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/bt8xx/bttv-driver.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/media/video/bt8xx/bttv-driver.c b/drivers/media/video/bt8xx/bttv-driver.c
index 350e7af75884..fcfc934a3667 100644
--- a/drivers/media/video/bt8xx/bttv-driver.c
+++ b/drivers/media/video/bt8xx/bttv-driver.c
@@ -1987,11 +1987,6 @@ static int bttv_g_frequency(struct file *file, void *priv,
1987{ 1987{
1988 struct bttv_fh *fh = priv; 1988 struct bttv_fh *fh = priv;
1989 struct bttv *btv = fh->btv; 1989 struct bttv *btv = fh->btv;
1990 int err;
1991
1992 err = v4l2_prio_check(&btv->prio, &fh->prio);
1993 if (0 != err)
1994 return err;
1995 1990
1996 f->type = btv->radio_user ? V4L2_TUNER_RADIO : V4L2_TUNER_ANALOG_TV; 1991 f->type = btv->radio_user ? V4L2_TUNER_RADIO : V4L2_TUNER_ANALOG_TV;
1997 f->frequency = btv->freq; 1992 f->frequency = btv->freq;