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

This patch cleanups below cppcheck warning.

sound/soc/soc-core.c:2719:28: style: The scope of the variable 'component' can be reduced. [variableScope]
 struct snd_soc_component *component;
                           ^

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