Fix dead code lints

This commit is contained in:
Ruihan Li
2025-03-21 15:32:05 +08:00
committed by Ruihan Li
parent ee9b63684b
commit bb1b41b413
3 changed files with 6 additions and 9 deletions

View File

@ -83,11 +83,6 @@ impl ProcessVmarGuard<'_> {
self.inner.as_ref().unwrap()
}
/// Sets a new VMAR for the binding process.
pub(super) fn set_new_vmar(&mut self, new_vmar: Vmar<Full>) {
*self.inner = Some(new_vmar);
}
/// Clears the VMAR of the binding process.
pub(super) fn clear(&mut self) {
*self.inner = None;