[as5916-54xks] Remove setting loc/diag led as off while onlp_ledi_init()

This commit is contained in:
brandon_chuang
2019-03-14 10:37:30 +08:00
parent 01c689605d
commit 1d345c7bc9

View File

@@ -167,12 +167,6 @@ static int onlp_to_driver_led_mode(enum onlp_led_id id, onlp_led_mode_t onlp_led
int
onlp_ledi_init(void)
{
/*
* Turn off the LOCATION and DIAG LEDs at startup
*/
onlp_ledi_mode_set(ONLP_LED_ID_CREATE(LED_DIAG), ONLP_LED_MODE_OFF);
onlp_ledi_mode_set(ONLP_LED_ID_CREATE(LED_LOC), ONLP_LED_MODE_OFF);
return ONLP_STATUS_OK;
}