]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5677-spi: fixup compile warning
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 30 Oct 2019 06:14:58 +0000 (15:14 +0900)
committerMark Brown <broonie@kernel.org>
Wed, 30 Oct 2019 12:55:27 +0000 (12:55 +0000)
commitdec0d084021ae2ac2eb268a19296af46a38fd979
tree16b7ad502a3921d69b33d85006a6ee461945e899
parentc24798c775930d4fec0ef4af79f928114232b5b5
ASoC: rt5677-spi: fixup compile warning

This patch fixup this warning

LINUX/sound/soc/codecs/rt5677-spi.c: In function ‘rt5677_spi_pcm_close’:
LINUX/sound/soc/codecs/rt5677-spi.c:114:30: warning: unused variable ‘rtd’ [-Wunused-variable]
  struct snd_soc_pcm_runtime *rtd = substream->private_data;
                              ^~~

Fixes: 85f0d40d6e8d ("ASoC: rt5677: Add a PCM device for streaming hotword via SPI")
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87a79idajh.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5677-spi.c