Re: [PATCH] ASoC: txx9: Remove unused rtd variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux