From: Mark Brown Date: Mon, 19 Sep 2011 15:16:08 +0000 (+0100) Subject: ASoC: Fix unused variable warning in WM8996 X-Git-Tag: v3.3-rc1~14^2~717 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c9d023adb62e17569f714669c93d3da07be49e3f;p=profile%2Fivi%2Fkernel-x86-ivi.git ASoC: Fix unused variable warning in WM8996 Signed-off-by: Mark Brown Acked-by: Liam Girdwood --- diff --git a/sound/soc/codecs/wm8996.c b/sound/soc/codecs/wm8996.c index cd1ba96..1fe676c 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, 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) {