瀏覽代碼

ASoC: tlv320aic31xx: Fix unused variable warning from aic31xx_clk_off

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>
Jyri Sarha 11 年之前
父節點
當前提交
a2d57678ce
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      sound/soc/codecs/tlv320aic31xx.c

+ 0 - 1
sound/soc/codecs/tlv320aic31xx.c

@@ -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;