ASoC: nuc900-pcm: remove unused variable 'dai'
authorAxel Lin <axel.lin@gmail.com>
Mon, 15 Aug 2011 08:38:34 +0000 (16:38 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 15 Aug 2011 13:52:04 +0000 (22:52 +0900)
Remove unused variable 'dai' to eliminate below warning.

  CC      sound/soc/nuc900/nuc900-pcm.o
sound/soc/nuc900/nuc900-pcm.c: In function 'nuc900_dma_new':
sound/soc/nuc900/nuc900-pcm.c:321: warning: unused variable 'dai'

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/nuc900/nuc900-pcm.c

index d589ef14e917e95648b91daede2c53eae079e6a5..e46d5516e000c65e1c05894cb7d84076aab34d8e 100644 (file)
@@ -318,7 +318,6 @@ static u64 nuc900_pcm_dmamask = DMA_BIT_MASK(32);
 static int nuc900_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;
 
        if (!card->dev->dma_mask)