OSDN Git Service

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)
commitd490f4e73e3c0b217242d92a8f679e62dc657001
tree610816a382147bfe84f348d04ff24fb021caf9ec
parenta2659768893bd90be4a243472e8bd2ef614c9de7
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