aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/tpa6130a2.c
diff options
context:
space:
mode:
authorIlkka Koskinen <ilkka.koskinen@nokia.com>2010-01-04 07:30:03 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-01-04 13:28:23 -0500
commita126fd5691e6cd680758b72e6ea288bb83b9deb6 (patch)
tree82c19168422d93b11a842eff83c84c1faae1d4e1 /sound/soc/codecs/tpa6130a2.c
parent40ca114265a281d51b261771df551a373fc8ff3c (diff)
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 0eb33d49942e..8e98ccfab75c 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[] = {
267 */ 267 */
268static void tpa6130a2_channel_enable(u8 channel, int enable) 268static void tpa6130a2_channel_enable(u8 channel, int enable)
269{ 269{
270 struct tpa6130a2_data *data;
271 u8 val; 270 u8 val;
272 271
273 BUG_ON(tpa6130a2_client == NULL);
274 data = i2c_get_clientdata(tpa6130a2_client);
275
276 if (enable) { 272 if (enable) {
277 /* Enable channel */ 273 /* Enable channel */
278 /* Enable amplifier */ 274 /* Enable amplifier */