vm-virtio: net: Remove attributes for test exclusions
Now that the tests are in use this import and function is used. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
af15ce9dc3
commit
7499210d0c
1 changed files with 0 additions and 2 deletions
|
|
@ -9,7 +9,6 @@ use epoll;
|
|||
use libc::EAGAIN;
|
||||
use libc::EFD_NONBLOCK;
|
||||
use std::cmp;
|
||||
#[cfg(not(test))]
|
||||
use std::io::Read;
|
||||
use std::io::{self, Write};
|
||||
use std::mem;
|
||||
|
|
@ -296,7 +295,6 @@ impl NetEpollHandler {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
#[cfg(not(test))]
|
||||
fn read_tap(&mut self) -> io::Result<usize> {
|
||||
self.tap.read(&mut self.rx.frame_buf)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue