[alsa-devel] [PATCH v6] ASoC: tlv320aic31xx: Fix unused variable warning from aic31xx_clk_off

Jyri Sarha jsarha at ti.com
Thu Mar 13 16:37:52 CET 2014


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

Signed-off-by: Jyri Sarha <jsarha at ti.com>
---
 sound/soc/codecs/tlv320aic31xx.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/codecs/tlv320aic31xx.c b/sound/soc/codecs/tlv320aic31xx.c
index e626b56..c9f6989 100644
--- a/sound/soc/codecs/tlv320aic31xx.c
+++ b/sound/soc/codecs/tlv320aic31xx.c
@@ -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;
 
-- 
1.7.9.5



More information about the Alsa-devel mailing list