]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-dapm: cleanup cppcheck warning at dapm_set_mixer_path_status()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 5 Aug 2021 01:11:05 +0000 (10:11 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 5 Aug 2021 14:37:30 +0000 (15:37 +0100)
commit4d5b156e89b33d42c3b01eb7f5eb0ba243beca00
treed380d46ecb905c955cdc0d74469e430df4f16de3
parent474c486ff8b5bd6a920fa34f7200ff915ef16fa7
ASoC: soc-dapm: cleanup cppcheck warning at dapm_set_mixer_path_status()

This patch cleanups below cppcheck warning, and its related code.

 unsigned int val;
              ^

sound/soc/soc-dapm.c:789:15: style: The scope of the variable 'val' can be reduced. [variableScope]
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87v94ku252.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-dapm.c