alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6] ASoC: tlv320aic31xx: Fix unused variable warning from aic31xx_clk_off
@ 2014-03-13 15:37 Jyri Sarha
  2014-03-13 17:31 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Jyri Sarha @ 2014-03-13 15:37 UTC (permalink / raw)
  To: alsa-devel, linux-omap; +Cc: broonie, Jyri Sarha

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(-)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v6] ASoC: tlv320aic31xx: Fix unused variable warning from aic31xx_clk_off
  2014-03-13 15:37 [PATCH v6] ASoC: tlv320aic31xx: Fix unused variable warning from aic31xx_clk_off Jyri Sarha
@ 2014-03-13 17:31 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2014-03-13 17:31 UTC (permalink / raw)
  To: Jyri Sarha; +Cc: alsa-devel, linux-omap

[-- Attachment #1: Type: text/plain, Size: 154 bytes --]

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.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-13 17:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-13 15:37 [PATCH v6] ASoC: tlv320aic31xx: Fix unused variable warning from aic31xx_clk_off Jyri Sarha
2014-03-13 17:31 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).