build: Address issues found by 1.43.0 clippy

These are mostly due to use of "bare use" statements and unnecessary vector
creation.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2020-05-27 15:19:54 +01:00
committed by Samuel Ortiz
parent fbd1a6c5f1
commit c31ad72ee9
25 changed files with 51 additions and 90 deletions
-1
View File
@@ -16,7 +16,6 @@ use super::{
};
use crate::VirtioInterrupt;
use anyhow::anyhow;
use epoll;
use libc::EAGAIN;
use libc::EFD_NONBLOCK;
use net_util::{MacAddr, Tap};