mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
devices: uart_pl011: Remove redundant imports
error: the item `io` is imported redundantly Error: --> devices/src/legacy/uart_pl011.rs:468:9 | 467 | use super::*; | -------- the item `io` is already imported here 468 | use std::io; | ^^^^^^^ error: the item `Arc` is imported redundantly Error: --> devices/src/legacy/uart_pl011.rs:469:21 | 467 | use super::*; | -------- the item `Arc` is already imported here 468 | use std::io; 469 | use std::sync::{Arc, Mutex}; | ^^^ error: could not compile `devices` (lib test) due to 8 previous errors Error: warning: build failed, waiting for other jobs to finish... Error: The process 'cross' failed with exit code 101 Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
parent
2f5e48d295
commit
f093ffcbef
@ -465,8 +465,7 @@ impl Migratable for Pl011 {}
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use std::io;
|
||||
use std::sync::{Arc, Mutex};
|
||||
use std::sync::Mutex;
|
||||
use vm_device::interrupt::{InterruptIndex, InterruptSourceConfig};
|
||||
use vmm_sys_util::eventfd::EventFd;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user