From ef05354c8142339dadac7f5502dd2122458aaba1 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Tue, 18 Jan 2022 15:49:58 +0000 Subject: [PATCH] memory_manager: drop unneeded clippy suppressions Signed-off-by: Wei Liu --- vmm/src/memory_manager.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/vmm/src/memory_manager.rs b/vmm/src/memory_manager.rs index 4f3bf9884..4a13cbf94 100644 --- a/vmm/src/memory_manager.rs +++ b/vmm/src/memory_manager.rs @@ -1322,7 +1322,6 @@ impl MemoryManager { // (rounded-up) to 128MiB boundary. // If memory hotplug is not allowed, there is no alignment required. // On x86_64, it must also start at the 64bit start. - #[allow(clippy::let_and_return)] fn start_addr(mem_end: GuestAddress, allow_mem_hotplug: bool) -> Result { let mut start_addr = if allow_mem_hotplug { GuestAddress(mem_end.0 | ((128 << 20) - 1))