]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commiteaf2469c340b854f5c19339d613234ce2c774a38
treecc166ce8f901ad0e7d81872e13527d43449c7f24
parent5600f3d5ac53304b5068f55c69afa2b8b2380b2b
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