All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: imx: Fix build warning of unused 'card' variable
@ 2011-08-30  3:28 Fabio Estevam
  2011-08-31  8:48 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2011-08-30  3:28 UTC (permalink / raw)
  To: alsa-devel; +Cc: Fabio Estevam, broonie, Fabio Estevam, lrg, kernel

Fixes the following warning:

  CC      sound/soc/imx/imx-pcm-fiq.o
sound/soc/imx/imx-pcm-fiq.c: In function 'imx_pcm_fiq_new':
sound/soc/imx/imx-pcm-fiq.c:243: warning: unused variable 'card'
  CC      sound/soc/imx/imx-pcm-dma-mx2.o

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 sound/soc/imx/imx-pcm-fiq.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/sound/soc/imx/imx-pcm-fiq.c b/sound/soc/imx/imx-pcm-fiq.c
index 309c59e..7945625 100644
--- a/sound/soc/imx/imx-pcm-fiq.c
+++ b/sound/soc/imx/imx-pcm-fiq.c
@@ -240,7 +240,6 @@ static int ssi_irq = 0;
 
 static int imx_pcm_fiq_new(struct snd_soc_pcm_runtime *rtd)
 {
-	struct snd_card *card = rtd->card->snd_card;
 	struct snd_soc_dai *dai = rtd->cpu_dai;
 	struct snd_pcm *pcm = rtd->pcm;
 	int ret;
-- 
1.6.0.4

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

* Re: [PATCH] ASoC: imx: Fix build warning of unused 'card' variable
  2011-08-30  3:28 [PATCH] ASoC: imx: Fix build warning of unused 'card' variable Fabio Estevam
@ 2011-08-31  8:48 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2011-08-31  8:48 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: Fabio Estevam, alsa-devel, lrg, kernel

On Tue, Aug 30, 2011 at 12:28:42AM -0300, Fabio Estevam wrote:
> Fixes the following warning:
> 
>   CC      sound/soc/imx/imx-pcm-fiq.o
> sound/soc/imx/imx-pcm-fiq.c: In function 'imx_pcm_fiq_new':
> sound/soc/imx/imx-pcm-fiq.c:243: warning: unused variable 'card'
>   CC      sound/soc/imx/imx-pcm-dma-mx2.o
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Applied, thanks.

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

end of thread, other threads:[~2011-08-31  8:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-30  3:28 [PATCH] ASoC: imx: Fix build warning of unused 'card' variable Fabio Estevam
2011-08-31  8:48 ` 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.