Skip to content

Commit 9493755

Browse files
tiwaibroonie
authored andcommitted
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: 6d1048b ("ASoC: fsl: mpc5200_dma: remove snd_pcm_ops") Signed-off-by: Takashi Iwai <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent ccff7bd commit 9493755

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sound/soc/fsl/mpc5200_dma.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,6 @@ static int psc_dma_new(struct snd_soc_component *component,
339339
static void psc_dma_free(struct snd_soc_component *component,
340340
struct snd_pcm *pcm)
341341
{
342-
struct snd_soc_pcm_runtime *rtd = pcm->private_data;
343342
struct snd_pcm_substream *substream;
344343
int stream;
345344

0 commit comments

Comments
 (0)