mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-24 01:43:22 +00:00
Fix dead code lints
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user