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)
commit872040f7980b929d75877e7b9d721ea808ce06e1
treeecdfd86b72ae7ed2961fede16fbd59aea7ef1420
parent58f42dfd7977599b060996491412fcec688d025d
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