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

This patch cleanups below cppcheck warning.

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

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