hypervisor: Fix clippy errors in the mshv module
//
//
-use crate::arch::x86::{msr_index, SegmentRegisterOps, MTRR_ENABLE, MTRR_MEM_TYPE_WB};
+use crate::arch::x86::{msr_index, SegmentRegisterOps};
use serde_derive::{Deserialize, Serialize};
///
/// Export generically-named wrappers of mshv_bindings for Unix-based platforms
@@ -58,15 +58,6 @@ macro_rules! msr {
}
};
}
-macro_rules! msr_data {
- ($msr:expr, $data:expr) => {
- MsrEntry {
- index: $msr,
- data: $data,
- ..Default::default()
- }
- };
-}
impl SegmentRegisterOps for SegmentRegister {
fn segment_type(&self) -> u8 {
