OSDN Git Service

ASoC: soc-jack: cleanup cppcheck warning for CONFIG_GPIOLIB
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 16 Aug 2021 04:56:15 +0000 (13:56 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 16 Aug 2021 12:29:34 +0000 (13:29 +0100)
commitc7577906865c5da232c1eeabaa80129f4702290d
tree91b1ada67374388fcadff7b0f65e5eaf74101f12
parentc2dea1fba206b6e16940fb2bbf5209b30018833c
ASoC: soc-jack: cleanup cppcheck warning for CONFIG_GPIOLIB

This patch cleanups below cppcheck warning.

sound/soc/soc-jack.c:21:6: style: struct member 'jack_gpio_tbl::count' is never used. [unusedStructMember]
 int count;
     ^
sound/soc/soc-jack.c:23:28: style: struct member 'jack_gpio_tbl::gpios' is never used. [unusedStructMember]
 struct snd_soc_jack_gpio *gpios;
                           ^

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