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 e60e37b43a1b2f0a6c1f658de2c2803dae8c35e2..bdc0d8bd47b4d8d2b6b273272d70c01a620b417e 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;