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

This patch cleanups below cppcheck warning.

sound/soc/soc-ops.c:576:28: style: The scope of the variable 'mc' can be reduced. [variableScope]
 struct soc_mixer_control *mc;
                           ^

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