diff mbox

[v6] ASoC: tlv320aic31xx: Fix unused variable warning from aic31xx_clk_off

Message ID 1394725072-10584-1-git-send-email-jsarha@ti.com (mailing list archive)
State Accepted
Commit a2d57678ce98534a87de42e55e599cae730d17ca
Headers show

Commit Message

Jyri Sarha March 13, 2014, 3:37 p.m. UTC
Fix "warning: unused variable 'aic31xx'" from function 'aic31xx_clk_off'.

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

Comments

Mark Brown March 13, 2014, 5:31 p.m. UTC | #1
On Thu, Mar 13, 2014 at 05:37:52PM +0200, Jyri Sarha wrote:
> Fix "warning: unused variable 'aic31xx'" from function 'aic31xx_clk_off'.

Applied, thanks.
diff mbox

Patch

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;