summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2004-12-26 23:21:48 +0000
committerjeff <jeff@FreeBSD.org>2004-12-26 23:21:48 +0000
commit94a75d08c35a6fda13e70225904f0ab6d45a3b6e (patch)
tree41272f5c03949e5f044fb7eac1f42ffc089b164e /sys/kern
parent862fb71e5ed169517eb58fd64320e16864262c97 (diff)
downloadFreeBSD-src-94a75d08c35a6fda13e70225904f0ab6d45a3b6e.zip
FreeBSD-src-94a75d08c35a6fda13e70225904f0ab6d45a3b6e.tar.gz
- Unintentionally checked in a debugging panic. Remove that.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/sched_ule.c4
1 files changed, 0 insertions, 4 deletions
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);
OpenPOWER on IntegriCloud