From 94a75d08c35a6fda13e70225904f0ab6d45a3b6e Mon Sep 17 00:00:00 2001 From: jeff Date: Sun, 26 Dec 2004 23:21:48 +0000 Subject: - Unintentionally checked in a debugging panic. Remove that. --- sys/kern/sched_ule.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sys/kern') diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c index bd3c93a..513d56f 100644 --- a/sys/kern/sched_ule.c +++ b/sys/kern/sched_ule.c @@ -1704,10 +1704,6 @@ sched_add(struct thread *td, int flags) int canmigrate; int class; - if (td == NULL) { - mtx_unlock_spin(&sched_lock); - panic("wtf"); - } CTR5(KTR_SCHED, "sched_add: %p(%s) prio %d by %p(%s)", td, td->td_proc->p_comm, td->td_priority, curthread, curthread->td_proc->p_comm); -- cgit v1.1