From: Oder Chiou Date: Thu, 8 May 2014 06:47:34 +0000 (+0800) Subject: ASoC: rt5645: Remove the unused variable X-Git-Tag: firefly_0821_release~176^2~3750^2~24^2~17^7~5 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=92e160ddf677566c0119c9dcac0e53989ea2a1ac;p=firefly-linux-kernel-4.4.55.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: