]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[media] tvaudio: remove watch_stereo
authorDaniel Glöckner <daniel-gl@gmx.net>
Sun, 10 Jun 2012 00:43:53 +0000 (21:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 18 Jun 2012 23:46:37 +0000 (20:46 -0300)
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>
drivers/media/video/tvaudio.c

index 3fbaaa0494c2e6299574db2f78e92b51f4ce344f..fc37587d0ce460a168b5da2682e28b1e64cffa92 100644 (file)
@@ -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);