From: Oder Chiou Date: Thu, 8 May 2014 06:47:34 +0000 (+0800) Subject: ASoC: rt5645: Remove the unused variable X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=92e160ddf677566c0119c9dcac0e53989ea2a1ac;p=linux-beck.git ASoC: rt5645: Remove the unused variable The patch is for removing the unused variable. Signed-off-by: Oder Chiou Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c index 7d8cc1688fb5..37ec468ab0e7 100644 --- a/sound/soc/codecs/rt5645.c +++ b/sound/soc/codecs/rt5645.c @@ -1166,7 +1166,6 @@ static int rt5645_spk_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) { struct snd_soc_codec *codec = w->codec; - struct rt5645_priv *rt5645 = snd_soc_codec_get_drvdata(codec); switch (event) { case SND_SOC_DAPM_POST_PMU: