]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-topology: cleanup cppcheck warning at snd_soc_find_dai_link()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 2 Aug 2021 06:01:12 +0000 (15:01 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 2 Aug 2021 11:21:31 +0000 (12:21 +0100)
commit7654a8024d3bd5cb9f8f774c185f1e3b926e7027
treeaa2faf70f0b4496d8b793dfdea6a4f37ff6273f3
parent797d5b5853db04b053cf690bb9682a1d1368a7e4
ASoC: soc-topology: cleanup cppcheck warning at snd_soc_find_dai_link()

This patch cleanups below cppcheck warning.

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

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