remove unused

This commit is contained in:
Bruce Leidl 2019-09-11 16:30:13 -04:00
parent 1f7aadff12
commit 81df280b12
2 changed files with 0 additions and 6 deletions

View File

@ -32,7 +32,6 @@ impl Event {
pub struct EPoll {
fd: RawFd,
events: PollEvents,
}
impl EPoll {
@ -41,7 +40,6 @@ impl EPoll {
-1 => Err(Error::last_os_error()),
fd => Ok(EPoll {
fd,
events: PollEvents::new(),
})
}
}

View File

@ -16,10 +16,6 @@ impl Error {
pub fn last_os_error() -> Error {
Error(unsafe { *__errno_location() })
}
pub fn errno(self) -> i32 {
self.0
}
}
impl From<io::Error> for Error {