]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl: Fix unused variable warning
authorTakashi Iwai <tiwai@suse.de>
Mon, 3 Aug 2020 14:46:30 +0000 (16:46 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 3 Aug 2020 15:25:48 +0000 (16:25 +0100)
commit941174c2dee7c916d1b62d2cd0c654bdcb86e5ed
treec4eed064db266bc3fc49ed9450d2c4781ba24914
parent8772ccd1350ff88cd93de134fb08e98f1a51f946
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: 8222409252b9 ("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>
sound/soc/fsl/mpc5200_dma.c