ASoC: pxa2xx-pcm: remove unused variable 'dai'
authorAxel Lin <axel.lin@gmail.com>
Wed, 6 Jul 2011 13:20:42 +0000 (21:20 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 7 Jul 2011 16:54:09 +0000 (09:54 -0700)
Remove unused variable 'dai' to eliminate below warning.

  CC      sound/soc/pxa/pxa2xx-pcm.o
sound/soc/pxa/pxa2xx-pcm.c: In function 'pxa2xx_soc_pcm_new':
sound/soc/pxa/pxa2xx-pcm.c:91: warning: unused variable 'dai'

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/pxa/pxa2xx-pcm.c

index da28394c5e56b5e1b4df85d6cfbb265ece71b418..c43060053dd7ef780f88e5768da82de4a2a62389 100644 (file)
@@ -88,7 +88,6 @@ static u64 pxa2xx_pcm_dmamask = DMA_BIT_MASK(32);
 static int pxa2xx_soc_pcm_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;
        int ret = 0;