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

This patch cleanups below cppcheck warning.

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

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