summaryrefslogtreecommitdiff
path: root/sound/soc/mxs
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2022-10-19 03:36:14 +0300
committerMark Brown <broonie@kernel.org>2022-10-19 15:05:27 +0300
commit943402b54eac4b2045f49471016eb170239e2af2 (patch)
treece5ab49e4b400b6a58487d8366c1beb2931ad296 /sound/soc/mxs
parentf19a2ec7a303c22e22437fb93ff4f6d4337c096e (diff)
downloadlinux-943402b54eac4b2045f49471016eb170239e2af2.tar.xz
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 'sound/soc/mxs')
0 files changed, 0 insertions, 0 deletions