From bbe7b1cbebb252f91ac057a3293775758a9db54c Mon Sep 17 00:00:00 2001 From: Werner Sembach Date: Wed, 9 Nov 2022 17:31:38 +0100 Subject: [PATCH] Remove leftover commented code --- src/uniwill_leds.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/uniwill_leds.h b/src/uniwill_leds.h index a3bc911..83b1f5c 100644 --- a/src/uniwill_leds.h +++ b/src/uniwill_leds.h @@ -58,11 +58,9 @@ void uniwill_leds_set_color_extern(u32 color); static enum uniwill_kb_backlight_types uniwill_kb_backlight_type = UNIWILL_KB_BACKLIGHT_TYPE_NONE; static bool uw_leds_initialized = false; -//static DECLARE_COMPLETION(init_done); static int uniwill_write_kbd_bl_white(u8 brightness) { - //wait_for_completion(&init_done); return uniwill_write_ec_ram(UW_EC_REG_KBD_BL_WHITE_BRIGHTNESS, brightness); } @@ -71,8 +69,6 @@ static int uniwill_write_kbd_bl_rgb(u8 red, u8 green, u8 blue) { int result = 0; - //wait_for_completion(&init_done); - result = uniwill_write_ec_ram(UW_EC_REG_KBD_BL_RGB_RED_BRIGHTNESS, red); if (result) { return result;