diff mbox

[1/4] ASoC: rt5645: Remove the unused variable

Message ID 1399531657-31793-1-git-send-email-oder_chiou@realtek.com (mailing list archive)
State Accepted
Commit 92e160ddf677566c0119c9dcac0e53989ea2a1ac
Headers show

Commit Message

Oder Chiou May 8, 2014, 6:47 a.m. UTC
The patch is for removing the unused variable.

Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
---
 sound/soc/codecs/rt5645.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Mark Brown May 8, 2014, 7:05 a.m. UTC | #1
On Thu, May 08, 2014 at 02:47:34PM +0800, Oder Chiou wrote:
> The patch is for removing the unused variable.

Applied all, thanks.
diff mbox

Patch

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: