aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/tpa6130a2.c
diff options
context:
space:
mode:
authorIlkka Koskinen <ilkka.koskinen@nokia.com>2010-01-04 14:30:03 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-01-04 18:28:23 +0000
commita126fd5691e6cd680758b72e6ea288bb83b9deb6 (patch)
tree82c19168422d93b11a842eff83c84c1faae1d4e1 /sound/soc/codecs/tpa6130a2.c
parent40ca114265a281d51b261771df551a373fc8ff3c (diff)
downloadmrst-s0i3-test-a126fd5691e6cd680758b72e6ea288bb83b9deb6.tar.gz
mrst-s0i3-test-a126fd5691e6cd680758b72e6ea288bb83b9deb6.tar.xz
mrst-s0i3-test-a126fd5691e6cd680758b72e6ea288bb83b9deb6.zip
ASoc: tpa6130a2: Remove unnecessary variable
Signed-off-by: Ilkka Koskinen <ilkka.koskinen@nokia.com> Acked-by: Peter Ujfalusi <peter.ujfalusi@nokia.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/tpa6130a2.c')
-rw-r--r--sound/soc/codecs/tpa6130a2.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/soc/codecs/tpa6130a2.c b/sound/soc/codecs/tpa6130a2.c
index 0eb33d49942..8e98ccfab75 100644
--- a/sound/soc/codecs/tpa6130a2.c
+++ b/sound/soc/codecs/tpa6130a2.c
@@ -267,12 +267,8 @@ static const struct snd_kcontrol_new tpa6130a2_controls[] = {
*/
static void tpa6130a2_channel_enable(u8 channel, int enable)
{
- struct tpa6130a2_data *data;
u8 val;
- BUG_ON(tpa6130a2_client == NULL);
- data = i2c_get_clientdata(tpa6130a2_client);
-
if (enable) {
/* Enable channel */
/* Enable amplifier */