vmm: Fix AArch64 clippy warnings of vmm and other crates

Signed-off-by: Michael Zhao <michael.zhao@arm.com>
This commit is contained in:
Michael Zhao
2020-08-23 15:45:44 +08:00
committed by Sebastien Boeuf
parent 46b8f38987
commit afc98a5ec9
7 changed files with 9 additions and 11 deletions

View File

@@ -47,8 +47,7 @@ impl Gic {
impl InterruptController for Gic {
fn enable(&self) -> Result<()> {
&self
.interrupt_source_group
self.interrupt_source_group
.enable()
.map_err(Error::EnableInterrupt)?;
Ok(())