From 63f93111fb7b2e0ae47832429ef64aa25fb3e05a Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 18 Oct 2017 09:31:29 +1000 Subject: [PATCH] hidpp20: remove unused reg paramater Signed-off-by: Peter Hutterer --- src/hidpp20.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hidpp20.c b/src/hidpp20.c index 7209f5f8..7f26fee7 100644 --- a/src/hidpp20.c +++ b/src/hidpp20.c @@ -808,7 +808,7 @@ err: #define CMD_COLOR_LED_EFFECTS_GET_ZONE_INFO 0x10 static int -hidpp20_color_led_zones_get_count(struct hidpp20_device *device, uint8_t reg) +hidpp20_color_led_zones_get_count(struct hidpp20_device *device) { int rc; union hidpp20_message msg = { @@ -877,7 +877,7 @@ hidpp20_color_led_effects_get_zone_infos(struct hidpp20_device *device, if (feature_index == 0) return -ENOTSUP; - rc = hidpp20_color_led_zones_get_count(device, feature_index); + rc = hidpp20_color_led_zones_get_count(device); if (rc < 0) return rc;