mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
hypervisor: kvm: aarch64: Remove redundant import
error: the item `kvm_bindings` is imported redundantly Error: --> hypervisor/src/kvm/aarch64/gic/mod.rs:9:18 | 9 | use crate::kvm::{kvm_bindings, KvmVm}; | ^^^^^^^^^^^^ the item `kvm_bindings` is already defined by prelude | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]` Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
parent
72620295dc
commit
1e3d21e504
@ -6,7 +6,7 @@ mod redist_regs;
|
|||||||
|
|
||||||
use crate::arch::aarch64::gic::{Error, Result, Vgic, VgicConfig};
|
use crate::arch::aarch64::gic::{Error, Result, Vgic, VgicConfig};
|
||||||
use crate::device::HypervisorDeviceError;
|
use crate::device::HypervisorDeviceError;
|
||||||
use crate::kvm::{kvm_bindings, KvmVm};
|
use crate::kvm::KvmVm;
|
||||||
use crate::{CpuState, Vm};
|
use crate::{CpuState, Vm};
|
||||||
use dist_regs::{get_dist_regs, read_ctlr, set_dist_regs, write_ctlr};
|
use dist_regs::{get_dist_regs, read_ctlr, set_dist_regs, write_ctlr};
|
||||||
use icc_regs::{get_icc_regs, set_icc_regs};
|
use icc_regs::{get_icc_regs, set_icc_regs};
|
||||||
|
Loading…
Reference in New Issue
Block a user