From cf6480f012126bf8db28bdd0a07df3494dfd4800 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Mon, 15 Feb 2021 12:50:01 +0000 Subject: [PATCH] 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 --- hypervisor/src/mshv/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hypervisor/src/mshv/mod.rs b/hypervisor/src/mshv/mod.rs index 40394d7dd..719975e15 100644 --- a/hypervisor/src/mshv/mod.rs +++ b/hypervisor/src/mshv/mod.rs @@ -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 {