ASoC: soc-pcm: cleanup cppcheck warning at soc_pcm_apply_msb()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 27 Jul 2021 02:05:34 +0000 (11:05 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 27 Jul 2021 12:14:44 +0000 (13:14 +0100)
commit2bc3e1f21b06802e70d9ccd5f8756099ffd04eb2
tree55540b0556053b567e2829f5c584b2b1b1f636d9
parentbc1c8e4eee79646b9ae10ededed06a569c7c2bc9
ASoC: soc-pcm: cleanup cppcheck warning at soc_pcm_apply_msb()

This patch cleanups below cppcheck warning.

sound/soc/soc-pcm.c:446:29: style: The scope of the variable 'pcm_codec' can be reduced. [variableScope]
 struct snd_soc_pcm_stream *pcm_codec, *pcm_cpu;
                            ^
sound/soc/soc-pcm.c:446:41: style: The scope of the variable 'pcm_cpu' can be reduced. [variableScope]
 struct snd_soc_pcm_stream *pcm_codec, *pcm_cpu;
                                        ^

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