ASoC: rt5645: Remove the unused variable
authorOder Chiou <oder_chiou@realtek.com>
Thu, 8 May 2014 06:47:34 +0000 (14:47 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 8 May 2014 07:00:43 +0000 (08:00 +0100)
The patch is for removing the unused variable.

Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/rt5645.c

index 7d8cc1688fb566f9fa18f8ac138d2fc9caa1ccf3..37ec468ab0e749199eae5509708bee45f732581c 100644 (file)
@@ -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: