mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: vm: Remove redundant import
error: the item `GuestMemoryMmap` is imported redundantly
Error: --> vmm/src/vm.rs:3136:9
|
3135 | use super::*;
| -------- the item `GuestMemoryMmap` is already imported here
3136 | use crate::GuestMemoryMmap;
| ^^^^^^^^^^^^^^^^^^^^^^
|
= 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:
@@ -3133,7 +3133,6 @@ mod tests {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::GuestMemoryMmap;
|
||||
use arch::aarch64::fdt::create_fdt;
|
||||
use arch::aarch64::layout;
|
||||
use arch::{DeviceType, MmioDeviceInfo};
|
||||
|
||||
Reference in New Issue
Block a user