diff options
author | Daniel Glöckner <daniel-gl@gmx.net> | 2012-06-09 20:43:53 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-06-18 19:46:37 -0400 |
commit | c799cfc57c98e603f62f1d79d48ff4418c99f6d6 (patch) | |
tree | ce708281fb8d0e5ebbbcef4230c1dc923f611799 | |
parent | 00fb18503fee608beee5fb11cb8a6db8533e7e86 (diff) |
[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>
-rw-r--r-- | drivers/media/video/tvaudio.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/video/tvaudio.c b/drivers/media/video/tvaudio.c index 3fbaaa0494c2..fc37587d0ce4 100644 --- a/drivers/media/video/tvaudio.c +++ b/drivers/media/video/tvaudio.c | |||
@@ -126,7 +126,6 @@ struct CHIPSTATE { | |||
126 | /* thread */ | 126 | /* thread */ |
127 | struct task_struct *thread; | 127 | struct task_struct *thread; |
128 | struct timer_list wt; | 128 | struct timer_list wt; |
129 | int watch_stereo; | ||
130 | int audmode; | 129 | int audmode; |
131 | }; | 130 | }; |
132 | 131 | ||
@@ -1741,7 +1740,6 @@ static int tvaudio_s_radio(struct v4l2_subdev *sd) | |||
1741 | struct CHIPSTATE *chip = to_state(sd); | 1740 | struct CHIPSTATE *chip = to_state(sd); |
1742 | 1741 | ||
1743 | chip->radio = 1; | 1742 | chip->radio = 1; |
1744 | chip->watch_stereo = 0; | ||
1745 | /* del_timer(&chip->wt); */ | 1743 | /* del_timer(&chip->wt); */ |
1746 | return 0; | 1744 | return 0; |
1747 | } | 1745 | } |
@@ -1821,7 +1819,6 @@ static int tvaudio_s_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) | |||
1821 | chip->audmode = vt->audmode; | 1819 | chip->audmode = vt->audmode; |
1822 | 1820 | ||
1823 | if (mode) { | 1821 | if (mode) { |
1824 | chip->watch_stereo = 0; | ||
1825 | /* del_timer(&chip->wt); */ | 1822 | /* del_timer(&chip->wt); */ |
1826 | chip->mode = mode; | 1823 | chip->mode = mode; |
1827 | desc->setmode(chip, mode); | 1824 | desc->setmode(chip, mode); |