Fix a couple of warnings

This commit is contained in:
bjorn3
2025-09-06 16:17:05 +02:00
parent 7f63a5c8f0
commit afed3bc84b
2 changed files with 0 additions and 3 deletions
-1
View File
@@ -67,7 +67,6 @@ pub enum HardBlockedReason {
},
// TODO: PageFaultOom?
NotYetStarted,
PtraceStop,
}
const CONTEXT_NAME_CAPAC: usize = 32;
-2
View File
@@ -212,8 +212,6 @@ pub unsafe fn debugger(target_id: Option<crate::context::ContextId>) {
// Super unsafe due to page table switching and raw pointers!
#[cfg(target_arch = "x86_64")]
pub unsafe fn debugger(target_id: Option<*const RwSpinlock<Context>>) {
use core::sync::atomic::Ordering;
use alloc::sync::Arc;
use hashbrown::HashSet;