summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/subr_trap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c
index a484ad7..4574aad 100644
--- a/sys/kern/subr_trap.c
+++ b/sys/kern/subr_trap.c
@@ -133,11 +133,8 @@ userret(td, frame, oticks)
* Let the scheduler adjust our priority etc.
*/
sched_userret(td);
-#if 0
- /* This is not presently working. */
KASSERT(td->td_locks == 0,
("userret: Returning with %d locks held.", td->td_locks));
-#endif
}
/*
OpenPOWER on IntegriCloud