ASoC: soc-dapm: cleanup cppcheck warning at soc_dapm_dai_stream_event()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 5 Aug 2021 01:11:44 +0000 (10:11 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 5 Aug 2021 14:37:40 +0000 (15:37 +0100)
commitf2ff5fbe343d08e880fb1d10dbbdc335a3ceca4b
treea38fdb23e5ab7e4b071fcaa65d8988423e8400a6
parent3dc72e4251d7ccd90517433b84f133d4a18179c3
ASoC: soc-dapm: cleanup cppcheck warning at soc_dapm_dai_stream_event()

This patch cleanups below cppcheck warning.

sound/soc/soc-dapm.c:4368:15: style: The scope of the variable 'ep' can be reduced. [variableScope]
 unsigned int ep;
              ^

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