kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] ASoC: Remove unused variable
  2012-08-21 14:51 [PATCH] ASoC: Remove unused variable Emil Goode
@ 2012-08-21 14:49 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2012-08-21 14:49 UTC (permalink / raw)
  To: Emil Goode; +Cc: tiwai, alsa-devel, kernel-janitors, lrg

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

On Tue, Aug 21, 2012 at 04:51:59PM +0200, Emil Goode wrote:
> 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]

Already fixed by someone else.

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

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

* [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; 2+ 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] 2+ messages in thread

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

Thread overview: 2+ 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

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