diff --git a/sys/kern/kern_switch.c b/sys/kern/kern_switch.c index e578424a1cb5..b54552f614d3 100644 --- a/sys/kern/kern_switch.c +++ b/sys/kern/kern_switch.c @@ -372,7 +372,6 @@ setrunqueue(struct thread *td, int flags) sched_rem(tda); tda = kg->kg_last_assigned = TAILQ_PREV(tda, threadqueue, td_runq); - SLOT_RELEASE(kg); } /*