From: Timur Tabi Date: Wed, 17 Aug 2011 01:58:29 +0000 (-0400) Subject: ASoC: fsl: fix build warning in fsl_dma X-Git-Tag: v3.12-rc1~3017^2~908 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=96af5c6a8266003a2212d9d0b383603f1af9b109;p=kernel%2Fkernel-generic.git ASoC: fsl: fix build warning in fsl_dma 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 Signed-off-by: Mark Brown --- diff --git a/sound/soc/fsl/fsl_dma.c b/sound/soc/fsl/fsl_dma.c index 732208c..0efc04a 100644 --- a/sound/soc/fsl/fsl_dma.c +++ b/sound/soc/fsl/fsl_dma.c @@ -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;