[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>
This commit is contained in:
parent
00fb18503f
commit
c799cfc57c
1 changed files with 0 additions and 3 deletions
|
@ -126,7 +126,6 @@ struct CHIPSTATE {
|
||||||
/* thread */
|
/* thread */
|
||||||
struct task_struct *thread;
|
struct task_struct *thread;
|
||||||
struct timer_list wt;
|
struct timer_list wt;
|
||||||
int watch_stereo;
|
|
||||||
int audmode;
|
int audmode;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1741,7 +1740,6 @@ static int tvaudio_s_radio(struct v4l2_subdev *sd)
|
||||||
struct CHIPSTATE *chip = to_state(sd);
|
struct CHIPSTATE *chip = to_state(sd);
|
||||||
|
|
||||||
chip->radio = 1;
|
chip->radio = 1;
|
||||||
chip->watch_stereo = 0;
|
|
||||||
/* del_timer(&chip->wt); */
|
/* del_timer(&chip->wt); */
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -1821,7 +1819,6 @@ static int tvaudio_s_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt)
|
||||||
chip->audmode = vt->audmode;
|
chip->audmode = vt->audmode;
|
||||||
|
|
||||||
if (mode) {
|
if (mode) {
|
||||||
chip->watch_stereo = 0;
|
|
||||||
/* del_timer(&chip->wt); */
|
/* del_timer(&chip->wt); */
|
||||||
chip->mode = mode;
|
chip->mode = mode;
|
||||||
desc->setmode(chip, mode);
|
desc->setmode(chip, mode);
|
||||||
|
|
Loading…
Add table
Reference in a new issue