Commit 9493755d7c1156b00b58376752d4c3df7c0a01ec

Authored by Takashi Iwai
Committed by Mark Brown
1 parent ccff7bd468

ASoC: fsl: Fix unused variable warning

The variable rtd was left unused in psc_dma_free(), even unnoticed
during conversion to a new style:
  sound/soc/fsl/mpc5200_dma.c:342:30: warning: unused variable 'rtd' [-Wunused-variable]

Drop the superfluous one.

Fixes: 6d1048bc1152 ("ASoC: fsl: mpc5200_dma: remove snd_pcm_ops")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20200803144630.9615-1-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

sound/soc/fsl/mpc5200_dma.c
... ... @@ -339,7 +339,6 @@
339 339 static void psc_dma_free(struct snd_soc_component *component,
340 340 struct snd_pcm *pcm)
341 341 {
342   - struct snd_soc_pcm_runtime *rtd = pcm->private_data;
343 342 struct snd_pcm_substream *substream;
344 343 int stream;
345 344