Skip to contentSkip to conversation

ASoC: Fix unused variable warning in WM8996

PATCH New Mark Brown 1 participant 1 message Sep 19, 2011

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 ASoC: Fix unused variable warning in WM8996

---
 sound/soc/codecs/wm8996.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
sound/soc/codecs/wm8996.c +0 -2
index f455997..bede1ac 100644
@@ -670,8 +670,6 @@ SOC_SINGLE_TLV("DSP2 EQ B5 Volume", WM8996_DSP2_RX_EQ_GAINS_2, 6, 31, 0,
 static int bg_event(struct snd_soc_dapm_widget *w,
 		    struct snd_kcontrol *kcontrol, int event)
 {
-	struct snd_soc_codec *codec = w->codec;
-	struct wm8996_priv *wm8996 = snd_soc_codec_get_drvdata(codec);
 	int ret = 0;
 
 	switch (event) {
Signature · 1 line
1.7.6.3