Hi > Commit a857e073ffc6 ("ASoC: txx9: txx9aclc: remove snd_pcm_ops") removed > the last use of the rtd variable but didn't remove its definition, > leading to the following warning/error for MIPS rbtx49xx_defconfig > builds: > > sound/soc/txx9/txx9aclc.c: In function 'txx9aclc_pcm_hw_params': > sound/soc/txx9/txx9aclc.c:54:30: error: unused variable 'rtd' > [-Werror=unused-variable] > struct snd_soc_pcm_runtime *rtd = snd_pcm_substream_chip(substream); > ^~~ > > Resolve this by removing the unused variable. > > Signed-off-by: Paul Burton <paulburton@xxxxxxxxxx> > Fixes: a857e073ffc6 ("ASoC: txx9: txx9aclc: remove snd_pcm_ops") > Cc: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx> > Cc: Mark Brown <broonie@xxxxxxxxxx> > Cc: Liam Girdwood <lgirdwood@xxxxxxxxx> > Cc: Jaroslav Kysela <perex@xxxxxxxx> > Cc: Takashi Iwai <tiwai@xxxxxxxx> > Cc: alsa-devel@xxxxxxxxxxxxxxxx > --- Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx> _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx https://mailman.alsa-project.org/mailman/listinfo/alsa-devel