]> git.proxmox.com Git - pve-lxc-syscalld.git/commitdiff
remove unused stuff
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 30 Oct 2019 11:34:54 +0000 (12:34 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 30 Oct 2019 11:34:54 +0000 (12:34 +0100)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/reactor.rs

index 0bc33f82cf91822fbfaf96bfcbd0b97078dcaadf..c731178657ba9579a3720ddabc6747c599c5ff84 100644 (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>)>>,