ASoC: fsl: fix build warning in fsl_dma
authorTimur Tabi <timur@freescale.com>
Wed, 17 Aug 2011 01:58:29 +0000 (21:58 -0400)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 17 Aug 2011 06:50:57 +0000 (15:50 +0900)
The previous patch to fsl_dma.c ("fix initialization of DMA buffers")
left behind an unused local variable that causes a build warning.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/fsl/fsl_dma.c

index 732208c8c0b40c8c3e673ff3c6efd0a071b99e94..0efc04af8f150db764a404527d53c84bcd4a7727 100644 (file)
@@ -297,7 +297,6 @@ static irqreturn_t fsl_dma_isr(int irq, void *dev_id)
 static int fsl_dma_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;
        static u64 fsl_dma_dmamask = DMA_BIT_MASK(36);
        int ret;