summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_thread.c')
-rw-r--r--sys/kern/kern_thread.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c
index ee7a252..8ae0df7 100644
--- a/sys/kern/kern_thread.c
+++ b/sys/kern/kern_thread.c
@@ -327,9 +327,6 @@ thread_exit(void)
/* Reassign this thread's KSE. */
if (ke != NULL) {
-KASSERT((ke->ke_state == KES_RUNNING), ("zapping kse not running"));
-KASSERT((ke->ke_thread == td ), ("kse ke_thread mismatch against curthread"));
-KASSERT((ke->ke_thread->td_state == TDS_RUNNING), ("zapping thread not running"));
ke->ke_thread = NULL;
td->td_kse = NULL;
ke->ke_state = KES_UNQUEUED;
OpenPOWER on IntegriCloud