Commit 117ef9570bf3a332eca443231f41dd3a52fcfb2c

Authored by Fabio Estevam
Committed by Mark Brown
1 parent 6c5b756aaa

ASoC: imx: Fix build warning of unused 'card' variable

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>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

sound/soc/imx/imx-pcm-fiq.c
... ... @@ -240,7 +240,6 @@
240 240  
241 241 static int imx_pcm_fiq_new(struct snd_soc_pcm_runtime *rtd)
242 242 {
243   - struct snd_card *card = rtd->card->snd_card;
244 243 struct snd_soc_dai *dai = rtd->cpu_dai;
245 244 struct snd_pcm *pcm = rtd->pcm;
246 245 int ret;