diff options
author | Kuninori Morimoto <[email protected]> | 2022-10-17 23:36:42 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-10-18 19:16:37 +0100 |
commit | c1329a0f3bde6a655b9e6ce54b1ce47f46fa49f2 (patch) | |
tree | de89d7d030a8a0f60896032053c506c320bf9c2e /tools/perf/scripts/python/intel-pt-events.py | |
parent | b913e9f4b313469dac7ae3083356baee3db4454f (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]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions