Skip to content

Commit 221db01

Browse files
tititiou36lag-linaro
authored andcommitted
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>
1 parent 678ba7d commit 221db01

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/leds/leds-lp50xx.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@ static const struct lp50xx_chip_info lp50xx_chip_info_tbl[] = {
265265
struct lp50xx_led {
266266
struct led_classdev_mc mc_cdev;
267267
struct lp50xx *priv;
268-
unsigned long bank_modules;
269268
u8 ctrl_bank_enabled;
270269
int led_number;
271270
};

0 commit comments

Comments
 (0)