diff options
Diffstat (limited to 'rust/kernel/task.rs')
-rw-r--r-- | rust/kernel/task.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/rust/kernel/task.rs b/rust/kernel/task.rs index c1163237a4aa..7a76be583126 100644 --- a/rust/kernel/task.rs +++ b/rust/kernel/task.rs @@ -9,12 +9,8 @@ use crate::{ pid_namespace::PidNamespace, types::{ARef, NotThreadSafe, Opaque}, }; -use core::{ - cmp::{Eq, PartialEq}, - ffi::{c_int, c_long, c_uint}, - ops::Deref, - ptr, -}; +use crate::ffi::{c_int, c_long, c_uint}; +use core::{cmp::{Eq, PartialEq},ops::Deref, ptr}; /// A sentinel value used for infinite timeouts. pub const MAX_SCHEDULE_TIMEOUT: c_long = c_long::MAX; |