ASoC: fsl: mpc5200_dma: remove unused psc_dma
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 21 Jun 2017 04:37:18 +0000 (04:37 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 21 Jun 2017 10:53:45 +0000 (11:53 +0100)
linux/sound/soc/fsl/mpc5200_dma.c:305:18: warning: unused variable \
psc_dma’ [-Wunused-variable]

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/mpc5200_dma.c

index 0b82e209b6e38d9a10723b5f27fb62af7f6481f1..1f7e70bfbd5506a4088143d8ee9dfff0e059ee2d 100644 (file)
@@ -302,7 +302,6 @@ static int psc_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;
-       struct psc_dma *psc_dma = snd_soc_dai_get_drvdata(rtd->cpu_dai);
        size_t size = psc_dma_hardware.buffer_bytes_max;
        int rc;