clean up a warning

This commit is contained in:
bunnie 2023-02-21 23:38:40 +08:00
parent e34d740bc6
commit 3437b94807

View file

@ -1743,6 +1743,7 @@ fn check_resume(cfg: &mut BootConfig) -> (bool, bool, u32) {
(clean, was_forced_suspend, pid)
}
#[cfg(not(feature="simulation-only"))]
fn clear_ram(cfg: &mut BootConfig) {
// clear RAM on a cold boot.
// RAM is persistent and battery-backed. This means secret material could potentially