Merge branch 'bugfix/idf-10972' into 'master'

fix the coverity issue of 'Constant' variable guards dead code

Closes IDF-10972

See merge request espressif/esp-idf!33788
This commit is contained in:
Jiang Jiang Jian 2024-09-29 20:04:21 +08:00
commit 906f36bdb9

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