summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStricted <info@stricted.net>2018-08-28 07:29:24 +0200
committerKevin Haggerty <haggertk@lineageos.org>2018-09-08 04:06:09 +0200
commitf66306436ae95a72a667bf907c5a393ce90d2ae3 (patch)
treed65f4eb4b7ebae1717072a69b1daa3d1e63cda07
parentdf6a599820efe676588ae579fc503c9b717c53b2 (diff)
downloadandroid_hardware_samsung-f66306436ae95a72a667bf907c5a393ce90d2ae3.tar.gz
android_hardware_samsung-f66306436ae95a72a667bf907c5a393ce90d2ae3.tar.bz2
android_hardware_samsung-f66306436ae95a72a667bf907c5a393ce90d2ae3.zip
liblights: remove unused variable
Change-Id: I2ce04975d4ff0a796e9f7c531f37c32ff88eaf10
-rw-r--r--liblights/lights.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/liblights/lights.c b/liblights/lights.c
index 875cf65..92034ea 100644
--- a/liblights/lights.c
+++ b/liblights/lights.c
@@ -178,7 +178,6 @@ static int write_leds(const struct led_config *led)
char blink[32];
int count, err;
- int color;
if (led == NULL)
led = &led_off;