diff options
| author | 2022-10-19 00:36:14 +0000 | |
|---|---|---|
| committer | 2022-10-19 13:05:27 +0100 | |
| commit | 943402b54eac4b2045f49471016eb170239e2af2 (patch) | |
| tree | ce5ab49e4b400b6a58487d8366c1beb2931ad296 /scripts/Makefile.thinlto | |
| parent | ASoC: soc-dapm.c: tidyup error handling on snd_soc_dapm_add_route() (diff) | |
ASoC: soc-dapm.c: remove no meaning variable from snd_soc_dapm_add_path()
snd_soc_dapm_add_path() is using local variable "widgets[]", but it is
same as path->node[].
This is no meaning and duplicate operation. This patch removes "widgets[]".
path->node[SND_SOC_DAPM_DIR_IN] = wsource;
path->node[SND_SOC_DAPM_DIR_OUT] = wsink;
widgets[SND_SOC_DAPM_DIR_IN] = wsource;
widgets[SND_SOC_DAPM_DIR_OUT] = wsink;
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/877d0wtzsx.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
