hypervisor: Remove some redundant parameters

Signed-off-by: Michael Zhao <michael.zhao@arm.com>
This commit is contained in:
Michael Zhao
2022-05-30 20:45:07 +08:00
committed by Xin Wang
parent c2862b6947
commit 3fe7d61a02
2 changed files with 12 additions and 8 deletions

View File

@@ -49,8 +49,8 @@ pub trait Vgic: Send + Sync {
fn as_any_concrete_mut(&mut self) -> &mut dyn Any;
/// Save the state of GICv3ITS.
fn state(&self, gicr_typers: &[u64]) -> Result<GicState>;
fn state(&self) -> Result<GicState>;
/// Restore the state of GICv3ITS.
fn set_state(&mut self, gicr_typers: &[u64], state: &GicState) -> Result<()>;
fn set_state(&mut self, state: &GicState) -> Result<()>;
}