From 7d8f7954301c1308b7eae404fabcdda3157ed298 Mon Sep 17 00:00:00 2001 From: Muminul Islam Date: Wed, 11 Jan 2023 09:34:40 -0800 Subject: [PATCH] hypervisor: remove unnecessary derive of HypervisorType There was an unnecessary change in previous PR #5077. This is the follow-up clean up patch. Right now there is no use case of the drive of Eq and PartialEq. Signed-off-by: Muminul Islam --- hypervisor/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypervisor/src/lib.rs b/hypervisor/src/lib.rs index 0b5e23080..a485bf0c3 100644 --- a/hypervisor/src/lib.rs +++ b/hypervisor/src/lib.rs @@ -59,7 +59,7 @@ pub use vm::{ Vm, VmOps, }; -#[derive(Debug, Copy, Clone, Eq, PartialEq)] +#[derive(Debug, Copy, Clone)] pub enum HypervisorType { #[cfg(feature = "kvm")] Kvm,