boards/esp32c3: Remove "return ret" from bringup

This commit is contained in:
Alan C. Assis 2021-09-15 15:35:22 -03:00 committed by saramonteiro
parent 7edb39f880
commit f9b322567c

View File

@ -157,7 +157,6 @@ int esp32c3_bringup(void)
if (ret)
{
syslog(LOG_ERR, "ERROR: Failed to initialize SPI Flash\n");
return ret;
}
#endif
@ -167,7 +166,6 @@ int esp32c3_bringup(void)
{
syslog(LOG_ERR, "ERROR: Failed to initialize partition error=%d\n",
ret);
return ret;
}
#endif
@ -176,7 +174,6 @@ int esp32c3_bringup(void)
if (ret < 0)
{
syslog(LOG_ERR, "Failed to initialize GPIO Driver: %d\n", ret);
return ret;
}
#endif
@ -240,7 +237,6 @@ int esp32c3_bringup(void)
{
syslog(LOG_ERR, "Failed to initialize BMP180 "
"Driver for I2C0: %d\n", ret);
return ret;
}
#endif
@ -301,7 +297,6 @@ int esp32c3_bringup(void)
if (ret < 0)
{
syslog(LOG_ERR, "Failed to initialize RT timer: %d\n", ret);
return ret;
}
#endif
@ -312,7 +307,6 @@ int esp32c3_bringup(void)
if (ret)
{
syslog(LOG_ERR, "ERROR: Failed to initialize Wi-Fi and BT coexist\n");
return ret;
}
#endif
@ -321,7 +315,6 @@ int esp32c3_bringup(void)
if (ret)
{
syslog(LOG_ERR, "ERROR: Failed to initialize BLE\n");
return ret;
}
#endif
@ -350,7 +343,6 @@ int esp32c3_bringup(void)
if (ret)
{
syslog(LOG_ERR, "ERROR: board_adc_init() failed: %d\n", ret);
return ret;
}
#endif /* CONFIG_ESP32C3_ADC */