[alsa-devel] [PATCH 1/4] ASoC: rt5645: Remove the unused variable
Oder Chiou
oder_chiou at realtek.com
Thu May 8 08:47:34 CEST 2014
The patch is for removing the unused variable.
Signed-off-by: Oder Chiou <oder_chiou at realtek.com>
---
sound/soc/codecs/rt5645.c | 1 -
1 file changed, 1 deletion(-)
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:
--
1.8.1.1.439.g50a6b54
More information about the Alsa-devel
mailing list