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: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/bc2e5e57b93ca0a33bcc84e9bdc89f26fc8f6d57.1714324500.git.christophe.jaillet@wanadoo.fr Signed-off-by: Lee Jones <lee@kernel.org>
This commit is contained in:
parent
678ba7d254
commit
221db0183b
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user