diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-19 11:16:08 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-20 07:56:36 -0400 |
commit | c9d023adb62e17569f714669c93d3da07be49e3f (patch) | |
tree | b9e2d3d4f6c45c87f6dd0e056e2dae141ae5b317 /sound/soc/codecs/wm8996.c | |
parent | cdd5054c3edcf556f67b629798d4dab64959c7cb (diff) |
ASoC: Fix unused variable warning in WM8996
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound/soc/codecs/wm8996.c')
-rw-r--r-- | sound/soc/codecs/wm8996.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8996.c b/sound/soc/codecs/wm8996.c index cd1ba9637c01..1fe676c7aead 100644 --- a/sound/soc/codecs/wm8996.c +++ b/sound/soc/codecs/wm8996.c | |||
@@ -669,8 +669,6 @@ SOC_SINGLE_TLV("DSP2 EQ B5 Volume", WM8996_DSP2_RX_EQ_GAINS_2, 6, 31, 0, | |||
669 | static int bg_event(struct snd_soc_dapm_widget *w, | 669 | static int bg_event(struct snd_soc_dapm_widget *w, |
670 | struct snd_kcontrol *kcontrol, int event) | 670 | struct snd_kcontrol *kcontrol, int event) |
671 | { | 671 | { |
672 | struct snd_soc_codec *codec = w->codec; | ||
673 | struct wm8996_priv *wm8996 = snd_soc_codec_get_drvdata(codec); | ||
674 | int ret = 0; | 672 | int ret = 0; |
675 | 673 | ||
676 | switch (event) { | 674 | switch (event) { |