fix(esp_hw_support): fix the coverity issue of 'constant' variable guards dead code

This commit is contained in:
Li Shuai 2024-09-24 19:53:40 +08:00 committed by BOT
parent ee74f278c8
commit f85ef40dcd

View File

@ -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);