Commit 221db018 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Lee Jones

leds: lp50xx: Remove unused field 'bank_modules' from 'struct lp50xx_led'

In 'struct lp50xx_led', the 'bank_modules' field is unused. Remove it.

Found with cppcheck, unusedStructMember.
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/bc2e5e57b93ca0a33bcc84e9bdc89f26fc8f6d57.1714324500.git.christophe.jaillet@wanadoo.frSigned-off-by: default avatarLee Jones <lee@kernel.org>
parent 678ba7d2
......@@ -265,7 +265,6 @@ static const struct lp50xx_chip_info lp50xx_chip_info_tbl[] = {
struct lp50xx_led {
struct led_classdev_mc mc_cdev;
struct lp50xx *priv;
unsigned long bank_modules;
u8 ctrl_bank_enabled;
int led_number;
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment