summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tvaudio.c
diff options
context:
space:
mode:
authorDaniel Glöckner <daniel-gl@gmx.net>2012-06-09 21:43:53 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-06-18 20:46:37 -0300
commitc799cfc57c98e603f62f1d79d48ff4418c99f6d6 (patch)
treece708281fb8d0e5ebbbcef4230c1dc923f611799 /drivers/media/video/tvaudio.c
parent00fb18503fee608beee5fb11cb8a6db8533e7e86 (diff)
downloadop-kernel-dev-c799cfc57c98e603f62f1d79d48ff4418c99f6d6.zip
op-kernel-dev-c799cfc57c98e603f62f1d79d48ff4418c99f6d6.tar.gz
[media] tvaudio: remove watch_stereo
It is never read and only assigned 0. Signed-off-by: Daniel Glöckner <daniel-gl@gmx.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/tvaudio.c')
-rw-r--r--drivers/media/video/tvaudio.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/video/tvaudio.c b/drivers/media/video/tvaudio.c
index 3fbaaa0..fc37587 100644
--- a/drivers/media/video/tvaudio.c
+++ b/drivers/media/video/tvaudio.c
@@ -126,7 +126,6 @@ struct CHIPSTATE {
/* thread */
struct task_struct *thread;
struct timer_list wt;
- int watch_stereo;
int audmode;
};
@@ -1741,7 +1740,6 @@ static int tvaudio_s_radio(struct v4l2_subdev *sd)
struct CHIPSTATE *chip = to_state(sd);
chip->radio = 1;
- chip->watch_stereo = 0;
/* del_timer(&chip->wt); */
return 0;
}
@@ -1821,7 +1819,6 @@ static int tvaudio_s_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt)
chip->audmode = vt->audmode;
if (mode) {
- chip->watch_stereo = 0;
/* del_timer(&chip->wt); */
chip->mode = mode;
desc->setmode(chip, mode);
OpenPOWER on IntegriCloud