summaryrefslogtreecommitdiff
path: root/sound/soc/intel/avs/pcm.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2022-10-18 02:36:42 +0300
committerMark Brown <broonie@kernel.org>2022-10-18 21:16:37 +0300
commitc1329a0f3bde6a655b9e6ce54b1ce47f46fa49f2 (patch)
treede89d7d030a8a0f60896032053c506c320bf9c2e /sound/soc/intel/avs/pcm.c
parentb913e9f4b313469dac7ae3083356baee3db4454f (diff)
downloadlinux-c1329a0f3bde6a655b9e6ce54b1ce47f46fa49f2.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> Link: https://lore.kernel.org/r/87y1teowdx.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/avs/pcm.c')
0 files changed, 0 insertions, 0 deletions