Remove unused code

This commit is contained in:
Johannes Leupolz 2025-12-27 22:50:06 +00:00
parent ccd4adc5ec
commit 2c85f82448
3 changed files with 1 additions and 9 deletions

View file

@ -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::*;

View file

@ -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(),

View file

@ -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},
};