diff options
Diffstat (limited to 'devices/src/utils/async_job_queue.rs')
-rw-r--r-- | devices/src/utils/async_job_queue.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/devices/src/utils/async_job_queue.rs b/devices/src/utils/async_job_queue.rs index 223b96d..8f9f4a3 100644 --- a/devices/src/utils/async_job_queue.rs +++ b/devices/src/utils/async_job_queue.rs @@ -5,7 +5,6 @@ use super::{Error, Result}; use super::{EventHandler, EventLoop}; use std::mem; -use std::os::unix::io::RawFd; use std::sync::Arc; use sync::Mutex; use sys_util::{EventFd, WatchingEvents}; @@ -41,7 +40,7 @@ impl AsyncJobQueue { } impl EventHandler for AsyncJobQueue { - fn on_event(&self, _fd: RawFd) -> std::result::Result<(), ()> { + fn on_event(&self) -> std::result::Result<(), ()> { // We want to read out the event, but the value is not important. match self.evt.read() { Ok(_) => {} |