]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-dai: cleanup cppcheck warning at snd_soc_dai_link_set_capabilities()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 16 Aug 2021 04:56:01 +0000 (13:56 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 16 Aug 2021 12:29:31 +0000 (13:29 +0100)
commit90ff2bad0ede7e91b37271be9257c62543d142b1
tree610816a382147bfe84f348d04ff24fb021caf9ec
parent6ef634f707c9947128abc752cb8c84be03b31c4a
ASoC: soc-dai: cleanup cppcheck warning at snd_soc_dai_link_set_capabilities()

This patch cleanups below cppcheck warning.

sound/soc/soc-dai.c:454:7: style: The scope of the variable 'supported_cpu' can be reduced. [variableScope]
 bool supported_cpu;
      ^
sound/soc/soc-dai.c:455:7: style: The scope of the variable 'supported_codec' can be reduced. [variableScope]
 bool supported_codec;
      ^

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