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

This patch cleanups below cppcheck warning.

sound/soc/soc-dapm.c:1648:6: style: The scope of the variable 'ret' can be reduced. [variableScope]
 int ret, i;
     ^

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87pmusu24j.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-dapm.c