hypervisor: Remove import of TryInto

This is already provided by the prelude.

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
Rob Bradford 2024-03-19 16:41:10 +00:00 committed by Bo Chen
parent 39ab482c47
commit 67054bf78b
2 changed files with 0 additions and 3 deletions

View File

@ -14,7 +14,6 @@ use kvm_ioctls::DeviceFd;
use redist_regs::{construct_gicr_typers, get_redist_regs, set_redist_regs}; use redist_regs::{construct_gicr_typers, get_redist_regs, set_redist_regs};
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use std::any::Any; use std::any::Any;
use std::convert::TryInto;
const GITS_CTLR: u32 = 0x0000; const GITS_CTLR: u32 = 0x0000;
const GITS_IIDR: u32 = 0x0004; const GITS_IIDR: u32 = 0x0004;

View File

@ -27,8 +27,6 @@ use crate::{arm64_core_reg_id, offset_of};
use kvm_ioctls::{NoDatamatch, VcpuFd, VmFd}; use kvm_ioctls::{NoDatamatch, VcpuFd, VmFd};
use std::any::Any; use std::any::Any;
use std::collections::HashMap; use std::collections::HashMap;
#[cfg(target_arch = "aarch64")]
use std::convert::TryInto;
#[cfg(target_arch = "x86_64")] #[cfg(target_arch = "x86_64")]
use std::fs::File; use std::fs::File;
#[cfg(target_arch = "x86_64")] #[cfg(target_arch = "x86_64")]