summaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorSven Schuchmann <schuchmann@schleissheimer.de>2021-11-26 16:28:46 +0100
committerPavel Machek <pavel@ucw.cz>2022-01-12 19:43:14 +0100
commit6212264be7df1d6b5b9eec4f1f1539abb071ff85 (patch)
treed2178786dd81ebfa5c656daff5328986a77745cf /drivers/leds
parentdt-bindings: leds: Replace moonlight with indicator in mt6360 example (diff)
downloadlinux-6212264be7df1d6b5b9eec4f1f1539abb071ff85.tar.xz
linux-6212264be7df1d6b5b9eec4f1f1539abb071ff85.zip
leds: lp50xx: remove unused variable
During code review this unused variable was found. Remove it. Signed-off-by: Sven Schuchmann <schuchmann@schleissheimer.de> Signed-off-by: Pavel Machek <pavel@ucw.cz>
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 401df1e2e05d..50b195ff96ca 100644
--- a/drivers/leds/leds-lp50xx.c
+++ b/drivers/leds/leds-lp50xx.c
@@ -266,7 +266,6 @@ struct lp50xx_led {
struct led_classdev_mc mc_cdev;
struct lp50xx *priv;
unsigned long bank_modules;
- int led_intensity[LP50XX_LEDS_PER_MODULE];
u8 ctrl_bank_enabled;
int led_number;
};