]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-ops: cleanup cppcheck warning at snd_soc_get_xr_sx()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 3 Aug 2021 05:00:55 +0000 (14:00 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 3 Aug 2021 17:27:13 +0000 (18:27 +0100)
commit8f784d9f0feab37c09507cbe662e1c4267d9f61e
treec34eacd38b1a54164b00149c4742dd54c0a4d264
parente7c6369f205fc3837d359fd298dbbba2b1477b09
ASoC: soc-ops: cleanup cppcheck warning at snd_soc_get_xr_sx()

This patch cleanups below cppcheck warning.

sound/soc/soc-ops.c:814:15: style: The scope of the variable 'regval' can be reduced. [variableScope]
 unsigned int regval;
              ^

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