]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-generic-dmaengine-pcm: cleanup cppcheck warning at dmaengine_copy_user()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 16 Aug 2021 04:55:56 +0000 (13:55 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 16 Aug 2021 12:29:30 +0000 (13:29 +0100)
commite0c19bedc1af4a60a2387332ff5ac71fa5a9dcb0
treeef71bf2e14a4ffe4817c679c9ea03d6bea52833f
parent7668693f4d6a5b0b7b801e24cde64d7e461cb71e
ASoC: soc-generic-dmaengine-pcm: cleanup cppcheck warning at dmaengine_copy_user()

This patch cleanups below cppcheck warning.

sound/soc/soc-generic-dmaengine-pcm.c:310:6: style: The scope of the variable 'ret' can be reduced. [variableScope]
 int ret;
     ^

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