Fix a couple of unused import warnings

This commit is contained in:
bjorn3
2026-03-30 18:38:25 +02:00
parent 675ba2ea51
commit 2fc2d5897a
8 changed files with 9 additions and 23 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ use crate::{
};
use core::{mem, mem::offset_of, ptr, sync::atomic::AtomicBool};
use spin::Once;
use syscall::{EnvRegisters, Error, Result, ENOMEM};
use syscall::{EnvRegisters, Result};
/// This must be used by the kernel to ensure that context switches are done atomically
/// Compare and exchange this to true when beginning a context switch on any CPU
+1 -4
View File
@@ -1,8 +1,5 @@
use crate::{
arch::interrupt::InterruptStack,
context::context::Kstack,
memory::{KernelMapper, RmmA},
percpu::PercpuBlock,
arch::interrupt::InterruptStack, context::context::Kstack, memory::RmmA, percpu::PercpuBlock,
syscall::FloatRegisters,
};
use core::{mem::offset_of, sync::atomic::AtomicBool};