diff --git a/components/esp_hw_support/sleep_retention.c b/components/esp_hw_support/sleep_retention.c index d483942313..e437a6fe58 100644 --- a/components/esp_hw_support/sleep_retention.c +++ b/components/esp_hw_support/sleep_retention.c @@ -534,8 +534,6 @@ static esp_err_t sleep_retention_entries_create_impl(const sleep_retention_entri return ESP_ERR_NO_MEM; } sleep_retention_entries_update(retent[i].owner, link, priority); - } else { - break; } } _lock_release_recursive(&s_retention.lock);