summaryrefslogtreecommitdiff
path: root/common/led_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/led_common.c')
-rw-r--r--common/led_common.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/common/led_common.c b/common/led_common.c
index cabaf22e10..2c73ba95e6 100644
--- a/common/led_common.c
+++ b/common/led_common.c
@@ -47,10 +47,6 @@ int led_auto_control_is_enabled(enum ec_led_id led_id)
return (led_auto_control_flags & LED_AUTO_CONTROL_FLAG(led_id)) != 0;
}
-/* Empty functions cannot be verified in testing to not have had any
- * side-effects, remove from coverage.
- * LCOV_EXCL_START
- */
__attribute__((weak)) void board_led_auto_control(void)
{
/*
@@ -60,7 +56,6 @@ __attribute__((weak)) void board_led_auto_control(void)
* is changed.
*/
}
-/* LCOV_EXCL_STOP */
static enum ec_status led_command_control(struct host_cmd_handler_args *args)
{
@@ -96,7 +91,6 @@ static enum ec_status led_command_control(struct host_cmd_handler_args *args)
}
DECLARE_HOST_COMMAND(EC_CMD_LED_CONTROL, led_command_control, EC_VER_MASK(1));
-#ifndef CONFIG_ZEPHYR
__attribute__((weak)) void led_control(enum ec_led_id led_id,
enum ec_led_state state)
{
@@ -105,4 +99,3 @@ __attribute__((weak)) void led_control(enum ec_led_id led_id,
* LED. Boards can provide their own implementation.
*/
}
-#endif