linux-next: build warning after merge of the sound-asoc tree

From: Stephen Rothwell
Date: Tue Oct 22 2019 - 19:45:43 EST


Hi all,

After merging the sound-asoc tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

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

Introduced by commit

a0e0d135427c ("ASoC: rt5677: Add a PCM device for streaming hotword via SPI")

--
Cheers,
Stephen Rothwell

Attachment: pgpQeSPE1bZQu.pgp
Description: OpenPGP digital signature