diff options
| author | Paul Burton <[email protected]> | 2020-01-09 11:14:22 -0800 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2020-01-13 14:58:38 +0000 |
| commit | ec0f6a4c4a987aa20b2e77e0db2ae555276e45e6 (patch) | |
| tree | 6bb4c3413d5a563a1c79b57cb4ecbcf07adc55b1 /tools/perf/scripts/python | |
| parent | b0edff42360ab4f772cc581a60a14089ef2e1718 (diff) | |
ASoC: txx9: Remove unused rtd variable
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 <[email protected]>
Fixes: a857e073ffc6 ("ASoC: txx9: txx9aclc: remove snd_pcm_ops")
Cc: Kuninori Morimoto <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: Liam Girdwood <[email protected]>
Cc: Jaroslav Kysela <[email protected]>
Cc: Takashi Iwai <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions