Skip to content

Commit f85ef40

Browse files
esp-lisespressif-bot
authored andcommitted
fix(esp_hw_support): fix the coverity issue of 'constant' variable guards dead code
1 parent ee74f27 commit f85ef40

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

components/esp_hw_support/sleep_retention.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,8 +534,6 @@ static esp_err_t sleep_retention_entries_create_impl(const sleep_retention_entri
534534
return ESP_ERR_NO_MEM;
535535
}
536536
sleep_retention_entries_update(retent[i].owner, link, priority);
537-
} else {
538-
break;
539537
}
540538
}
541539
_lock_release_recursive(&s_retention.lock);

0 commit comments

Comments
 (0)