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

This patch cleanups below cppcheck warning.

sound/soc/soc-core.c:3203:22: style: The scope of the variable 'component_of_node' can be reduced. [variableScope]
 struct device_node *component_of_node;
                     ^

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