remove unused stuff

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2019-10-30 12:34:54 +01:00
parent f757af32da
commit 3c8fcd1892

View File

@ -10,13 +10,6 @@ use crate::error::io_err_other;
use crate::poll_fn::poll_fn;
use crate::tools::Fd;
pub struct AssertSync<T>(pub T);
unsafe impl<T> Sync for AssertSync<T> {}
pub const READY_IN: u32 = 0b001;
pub const READY_OUT: u32 = 0b010;
pub const READY_ERR: u32 = 0b100;
pub struct Reactor {
epoll: Arc<Epoll>,
removed: Mutex<Vec<(RawFd, Box<RegistrationInner>)>>,