diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index 0d974c192b93..f83f0433f9cd 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -983,7 +983,6 @@ proc_reap(struct thread *td, struct proc *p, int *status, int options) proc_id_clear(PROC_ID_PID, p->p_pid); PROC_LOCK(p); - knlist_delete(p->p_klist, td, 1); knlist_detach(p->p_klist); p->p_klist = NULL; PROC_UNLOCK(p);