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

This patch cleanups below cppcheck warning.

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

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