ASoC: soc-jack: cleanup cppcheck warning at snd_soc_jack_report()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 16 Aug 2021 04:56:10 +0000 (13:56 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 16 Aug 2021 12:29:33 +0000 (13:29 +0100)
commitc2dea1fba206b6e16940fb2bbf5209b30018833c
tree4b2743bbfac39f7d468213e26d80906b176017d1
parent454a7422fa287d38fbc433260932383ed70b8af0
ASoC: soc-jack: cleanup cppcheck warning at snd_soc_jack_report()

This patch cleanups below cppcheck warning.

sound/soc/soc-jack.c:45:6: style: The scope of the variable 'enable' can be reduced. [variableScope]
 int enable;
     ^

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