Skip to contentSkip to conversation

ASoC: fsl: fix build warning in fsl_dma

PATCH Applied Timur Tabi 2 participants 2 messages Aug 17, 2011

Subsystems (3)
lore
Share & tools
lore

Timur Tabi

author
#0 lore raw

PATCH 1/1 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.

---
 sound/soc/fsl/fsl_dma.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
sound/soc/fsl/fsl_dma.c +0 -1
index 732208c..0efc04a 100644
@@ -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;
Signature · 1 line
1.7.4.4
Applied
#1 lore raw
Quoted 2 lines · Timur Tabi

The previous patch to fsl_dma.c ("fix initialization of DMA buffers") left behind an unused local variable that causes a build warning.

Applied, thanks.