diff options
author | Kuninori Morimoto <[email protected]> | 2022-10-19 00:36:14 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-10-19 13:05:27 +0100 |
commit | 943402b54eac4b2045f49471016eb170239e2af2 (patch) | |
tree | ce5ab49e4b400b6a58487d8366c1beb2931ad296 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f19a2ec7a303c22e22437fb93ff4f6d4337c096e (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 <[email protected]>
Reviewed-by: Amadeusz Sławiński <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions