There is no need to supply the current priority to `sched_switch()`, when this function can easily tell the value of `active_thread->priority` itself.
There is no need to supply the current priority to `sched_switch()`, when this function can easily tell the value of `active_thread->priority` itself.