]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-pcm: cleanup cppcheck warning at dpcm_be_is_active()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 27 Jul 2021 02:05:47 +0000 (11:05 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 27 Jul 2021 12:14:47 +0000 (13:14 +0100)
commitdf6e097080f899d266de035c05602f24796bf1b2
tree24e81e0dca19ffbf8c4f5bdf5e00bf200647ca0d
parent541853cf8291bfab4ba6c778e7c2c4d623e8db4a
ASoC: soc-pcm: cleanup cppcheck warning at dpcm_be_is_active()

This patch cleanups below cppcheck warning.

sound/soc/soc-pcm.c:1305:30: style: The scope of the variable 'widget' can be reduced. [variableScope]
 struct snd_soc_dapm_widget *widget;
                             ^

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