Skip to contentSkip to conversation

ASoC: tlv320aic31xx: Fix unused variable warning from aic31xx_clk_off

PATCH Applied Jyri Sarha 2 participants 2 messages Mar 13, 2014

Subsystems (3)
lore
Share & tools
lore

Jyri Sarha

author
#0 lore raw

PATCH v6 1/1 ASoC: tlv320aic31xx: Fix unused variable warning from aic31xx_clk_off

Fix "warning: unused variable 'aic31xx'" from function 'aic31xx_clk_off'.

---
 sound/soc/codecs/tlv320aic31xx.c |    1 -
 1 file changed, 1 deletion(-)
sound/soc/codecs/tlv320aic31xx.c +0 -1
index e626b56..c9f6989 100644
@@ -945,7 +945,6 @@ static void aic31xx_clk_on(struct snd_soc_codec *codec)
 
 static void aic31xx_clk_off(struct snd_soc_codec *codec)
 {
-	struct aic31xx_priv *aic31xx = snd_soc_codec_get_drvdata(codec);
 	u8 mask = AIC31XX_PM_MASK;
 	u8 off = 0;
 
Signature · 1 line
1.7.9.5
maintainer Applied
#1 lore raw
Quoted 1 line · Jyri Sarha

Fix "warning: unused variable 'aic31xx'" from function 'aic31xx_clk_off'.

Applied, thanks.