]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-dapm: cleanup cppcheck warning at dapm_new_dai_link()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 5 Aug 2021 01:11:15 +0000 (10:11 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 5 Aug 2021 14:37:33 +0000 (15:37 +0100)
commit384cb83b5225c200f4364b0bbc55f1d8d11c3d1f
treed766101226cf052904a8e136d3a566c852e3c9ba
parent54115b798858efa91db81c645c09ea6b5ee6b843
ASoC: soc-dapm: cleanup cppcheck warning at dapm_new_dai_link()

This patch cleanups below cppcheck warning, and its related code.

sound/soc/soc-dapm.c:1077:9: style: The scope of the variable 'ret' can be reduced. [variableScope]
 int i, ret;
        ^

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