All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: Remove unused variable
  2012-08-21 14:49   ` Mark Brown
@ 2012-08-21 14:51 Emil Goode
  2012-08-21 14:49   ` Mark Brown
  -1 siblings, 1 reply; 3+ messages in thread
From: Emil Goode @ 2012-08-21 14:51 UTC (permalink / raw)
  To: kernel-janitors

This patch removes a unused struct snd_soc_dai.

Sparse is warning:
sound/soc/soc-compress.c:156:22: warning:
	unused variable ‘codec_dai’ [-Wunused-variable]

Signed-off-by: Emil Goode <emilgoode@gmail.com>
---
 sound/soc/soc-compress.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/soc-compress.c b/sound/soc/soc-compress.c
index 88d85ba..b837674 100644
--- a/sound/soc/soc-compress.c
+++ b/sound/soc/soc-compress.c
@@ -153,7 +153,6 @@ static int soc_compr_set_params(struct snd_compr_stream *cstream,
 {
 	struct snd_soc_pcm_runtime *rtd = cstream->private_data;
 	struct snd_soc_platform *platform = rtd->platform;
-	struct snd_soc_dai *codec_dai = rtd->codec_dai;
 	int ret = 0;
 
 	/* first we call set_params for the platform driver
-- 
1.7.10.4


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

end of thread, other threads:[~2012-08-21 14:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-21 14:51 [PATCH] ASoC: Remove unused variable Emil Goode
2012-08-21 14:49 ` Mark Brown
2012-08-21 14:49   ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.