OSDN Git Service

ASoC: tlv320aic31xx: Fix unused variable warning from aic31xx_clk_off
authorJyri Sarha <jsarha@ti.com>
Thu, 13 Mar 2014 15:37:52 +0000 (17:37 +0200)
committerMark Brown <broonie@linaro.org>
Thu, 13 Mar 2014 17:31:31 +0000 (17:31 +0000)
Fix "warning: unused variable 'aic31xx'" from function 'aic31xx_clk_off'.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/tlv320aic31xx.c

index e60e37b..bdc0d8b 100644 (file)
@@ -943,7 +943,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;