Remove `PageProperty::new_absent`

This commit is contained in:
Zhang Junyang 2025-11-16 16:04:32 +08:00 committed by Tate, Hongliang Tian
parent eff4daf3ac
commit 9c8a8f8df9
1 changed files with 0 additions and 9 deletions

View File

@ -25,15 +25,6 @@ impl PageProperty {
priv_flags: PrivilegedPageFlags::USER,
}
}
/// Creates a page property that implies an invalid page without mappings.
pub fn new_absent() -> Self {
Self {
flags: PageFlags::empty(),
cache: CachePolicy::Writeback,
priv_flags: PrivilegedPageFlags::empty(),
}
}
}
// TODO: Make it more abstract when supporting other architectures.