diff --git a/kernel/src/scheduler/mlfq.rs b/kernel/src/scheduler/mlfq.rs index 13c6fd6951..f6ec8f508e 100644 --- a/kernel/src/scheduler/mlfq.rs +++ b/kernel/src/scheduler/mlfq.rs @@ -28,7 +28,6 @@ use crate::collections::list::{List, ListLink, ListNode}; use crate::hil::time::{self, ConvertTicks, Ticks}; use crate::platform::chip::Chip; use crate::process::Process; -use crate::process::ProcessId; use crate::process::StoppedExecutingReason; use crate::scheduler::{Scheduler, SchedulingDecision}; @@ -183,9 +182,4 @@ impl, C: Chip> Scheduler for MLFQSched<'_, self.processes[queue_idx].push_tail(self.processes[queue_idx].pop_head().unwrap()); } } - - unsafe fn continue_process(&self, _: ProcessId, _: &C) -> bool { - // This MLFQ scheduler only preempts processes if there is a timeslice expiration - true - } }