]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-core: cleanup cppcheck warning at snd_soc_add_controls()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 29 Jul 2021 01:15:52 +0000 (10:15 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 29 Jul 2021 14:35:43 +0000 (15:35 +0100)
commit67b9ae15f0891621209931704d7a8e36895e4963
treecc166ce8f901ad0e7d81872e13527d43449c7f24
parent70261903b59c75350995a04788bec4a7a187d8ff
ASoC: soc-core: cleanup cppcheck warning at snd_soc_add_controls()

This patch cleanups below cppcheck warning.

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

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