diff options
author | Peter Ujfalusi <peter.ujfalusi@nokia.com> | 2010-12-28 04:16:19 -0500 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2011-01-11 19:53:03 -0500 |
commit | 559a8cd629f1b797732fd97afd58b41d8b6fb312 (patch) | |
tree | b407a1fe4a8bae7d255ab4365010f2aaaace52eb /sound | |
parent | 399b82e4930f5f97556c7fd84ea3ef312718adee (diff) |
ASoC: tpa6130a2: Fix compiler warning
sound/soc/codecs/tpa6130a2.c: In function 'tpa6130a2_add_controls':
sound/soc/codecs/tpa6130a2.c:342: warning: unused variable 'dapm'
Introduced by commit 39646871a47fd8808c08de0ce7d7ca8393af2805 ("ASoC:
tpa6130a2: Replace DAPM code with direct interface").
The DAPM code has been removed from the driver, but the
dapm struct remained.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/tpa6130a2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/tpa6130a2.c b/sound/soc/codecs/tpa6130a2.c index 0a99f313e218..1f1ac8110bef 100644 --- a/sound/soc/codecs/tpa6130a2.c +++ b/sound/soc/codecs/tpa6130a2.c | |||
@@ -339,7 +339,6 @@ EXPORT_SYMBOL_GPL(tpa6130a2_stereo_enable); | |||
339 | int tpa6130a2_add_controls(struct snd_soc_codec *codec) | 339 | int tpa6130a2_add_controls(struct snd_soc_codec *codec) |
340 | { | 340 | { |
341 | struct tpa6130a2_data *data; | 341 | struct tpa6130a2_data *data; |
342 | struct snd_soc_dapm_context *dapm = &codec->dapm; | ||
343 | 342 | ||
344 | if (tpa6130a2_client == NULL) | 343 | if (tpa6130a2_client == NULL) |
345 | return -ENODEV; | 344 | return -ENODEV; |