ASoC: imx: Remove unused variable 'dai'
authorAxel Lin <axel.lin@gmail.com>
Wed, 5 Oct 2011 06:41:35 +0000 (14:41 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 5 Oct 2011 16:16:58 +0000 (17:16 +0100)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/imx/imx-pcm-fiq.c
sound/soc/imx/imx-ssi.c

index c8527ead373626baf114e089f049169f3c23a06e..8df0fae21943b64d9bb99ffd462b679592a69742 100644 (file)
@@ -240,7 +240,6 @@ static int ssi_irq = 0;
 
 static int imx_pcm_fiq_new(struct snd_soc_pcm_runtime *rtd)
 {
-       struct snd_soc_dai *dai = rtd->cpu_dai;
        struct snd_pcm *pcm = rtd->pcm;
        struct snd_pcm_substream *substream;
        int ret;
index 4297cb6af42e8a4eaec9bc5136ec3ed0cceaca9a..4c05e2b8f4d2bf3bd09309c5e254e8bce02814b6 100644 (file)
@@ -391,7 +391,6 @@ static u64 imx_pcm_dmamask = DMA_BIT_MASK(32);
 int imx_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;