diff options
author | julian <julian@FreeBSD.org> | 2004-08-31 06:12:13 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2004-08-31 06:12:13 +0000 |
commit | ee753ed190029f2bb1071fa1905073ad15121ae5 (patch) | |
tree | dddf557370c3f26fcb7ce5b74984fd362556bf89 /sys/kern/subr_trap.c | |
parent | d3a487d5866b728b29cf8da175a0ceae5e01eb2f (diff) | |
download | FreeBSD-src-ee753ed190029f2bb1071fa1905073ad15121ae5.zip FreeBSD-src-ee753ed190029f2bb1071fa1905073ad15121ae5.tar.gz |
Remove sched_free_thread() which was only used
in diagnostics. It has outlived its usefulness and has started
causing panics for people who turn on DIAGNOSTIC, in what is otherwise
good code.
MFC after: 2 days
Diffstat (limited to 'sys/kern/subr_trap.c')
-rw-r--r-- | sys/kern/subr_trap.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c index fc129c4..ccdaa2d 100644 --- a/sys/kern/subr_trap.c +++ b/sys/kern/subr_trap.c @@ -261,8 +261,5 @@ ast(struct trapframe *framep) } userret(td, framep, sticks); -#ifdef DIAGNOSTIC - cred_free_thread(td); -#endif mtx_assert(&Giant, MA_NOTOWNED); } |