ASoC: soc-topology: cleanup cppcheck warning at soc_tplg_process_headers()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 2 Aug 2021 06:00:27 +0000 (15:00 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 2 Aug 2021 11:21:27 +0000 (12:21 +0100)
commitf79e4b2a38eda4e365f765d363f47cf0c2183ab4
tree2f5c9828260a88ce1f7fba5082de6dff92b15f18
parent219691cf360136591e627badbd62f54097f99fc0
ASoC: soc-topology: cleanup cppcheck warning at soc_tplg_process_headers()

This patch cleanups below cppcheck warning.

sound/soc/soc-topology.c:2576:27: style: The scope of the variable 'hdr' can be reduced. [variableScope]
 struct snd_soc_tplg_hdr *hdr;
                          ^

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