hypervisor: mshv: drop some clippy attributes

They were used to suppress warnings during development. At this stage
they aren't needed anymore.

Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
Wei Liu 2021-02-15 12:50:01 +00:00 committed by Sebastien Boeuf
parent a838d0bde1
commit cf6480f012

View File

@ -159,7 +159,7 @@ impl SoftTLB {
// the translation for us.
}
}
#[allow(clippy::type_complexity)]
#[allow(dead_code)]
/// Vcpu struct for Microsoft Hypervisor
pub struct MshvVcpu {
@ -630,7 +630,6 @@ impl<'a> PlatformEmulator for MshvEmulatorContext<'a> {
}
}
#[allow(clippy::type_complexity)]
#[allow(dead_code)]
/// Wrapper over Mshv VM ioctls.
pub struct MshvVm {