aboutsummaryrefslogtreecommitdiffstats
path: root/liblights
diff options
context:
space:
mode:
Diffstat (limited to 'liblights')
-rw-r--r--liblights/lights.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/liblights/lights.c b/liblights/lights.c
index dcab8a3..fa55178 100644
--- a/liblights/lights.c
+++ b/liblights/lights.c
@@ -61,12 +61,6 @@ write_int(char const *path, int value)
}
}
-static int
-is_lit(struct light_state_t const* state)
-{
- return state->color & 0x00ffffff;
-}
-
static int
rgb_to_brightness(struct light_state_t const *state)
{
@@ -77,7 +71,7 @@ rgb_to_brightness(struct light_state_t const *state)
}
static int
-set_light_backlight(struct light_device_t *dev,
+set_light_backlight(struct light_device_t *dev __unused,
struct light_state_t const *state)
{
int err = 0;