From: Oder Chiou Date: Thu, 8 May 2014 06:47:34 +0000 (+0800) Subject: ASoC: rt5645: Remove the unused variable X-Git-Tag: v4.14-rc1~7368^2~24^2~17^7~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=92e160ddf677566c0119c9dcac0e53989ea2a1ac;p=platform%2Fkernel%2Flinux-rpi.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 7d8cc16..37ec468 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: