mirror of
https://github.com/joleuger/vuinputd.git
synced 2026-07-17 16:36:03 +00:00
Remove unused code
This commit is contained in:
parent
ccd4adc5ec
commit
2c85f82448
3 changed files with 1 additions and 9 deletions
|
|
@ -7,7 +7,6 @@ use libc::{iovec, size_t, EBADRQC};
|
|||
use libc::{uinput_abs_setup, uinput_ff_erase, uinput_ff_upload, uinput_setup};
|
||||
use log::debug;
|
||||
use std::ffi::CStr;
|
||||
use std::io::Write;
|
||||
use std::os::fd::AsRawFd;
|
||||
use std::os::raw::{c_char, c_int, c_uint, c_void};
|
||||
use uinput_ioctls::*;
|
||||
|
|
|
|||
|
|
@ -143,7 +143,6 @@ impl EmitUdevEventInContainerJob {
|
|||
|
||||
let runtime_data = runtime_data.unwrap();
|
||||
let netlink_data = netlink_data.unwrap();
|
||||
let dev_path = self.dev_path.clone();
|
||||
|
||||
let emit_udev_event_action = Action::EmitUdevEvent {
|
||||
netlink_message: netlink_data.clone(),
|
||||
|
|
|
|||
|
|
@ -3,20 +3,14 @@
|
|||
// Author: Johannes Leupolz <dev@leupolz.eu>
|
||||
|
||||
use std::{
|
||||
collections::HashMap,
|
||||
future::Future,
|
||||
pin::Pin,
|
||||
sync::{Arc, Condvar, Mutex},
|
||||
time::Duration,
|
||||
};
|
||||
|
||||
use async_io::Timer;
|
||||
use log::debug;
|
||||
|
||||
use crate::{
|
||||
actions::{action::Action, runtime_data::read_udev_data},
|
||||
actions::{action::Action},
|
||||
job_engine::job::{Job, JobTarget},
|
||||
jobs::monitor_udev_job::EVENT_STORE,
|
||||
process_tools::{self, await_process, Pid, RequestingProcess},
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue