summaryrefslogtreecommitdiff
path: root/drivers/leds
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2024-04-28 20:15:24 +0300
committerLee Jones <lee@kernel.org>2024-05-02 20:10:28 +0300
commit221db0183bebbee146922b5816419bdc9b5425ff (patch)
tree02ce77d900bdd4c6f9f51e63408a0f0a1b3a2055 /drivers/leds
parent678ba7d25467c06850d0d2922108573ea7346a48 (diff)
downloadlinux-221db0183bebbee146922b5816419bdc9b5425ff.tar.xz
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>
Diffstat (limited to 'drivers/leds')
-rw-r--r--drivers/leds/leds-lp50xx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/leds/leds-lp50xx.c b/drivers/leds/leds-lp50xx.c
index 68c4d9967d68..407eddcf17c0 100644
--- a/drivers/leds/leds-lp50xx.c
+++ b/drivers/leds/leds-lp50xx.c
@@ -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;
};