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/powerpc/aim | |
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/powerpc/aim')
-rw-r--r-- | sys/powerpc/aim/trap.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/powerpc/aim/trap.c b/sys/powerpc/aim/trap.c index 2b4a749..52e2a69 100644 --- a/sys/powerpc/aim/trap.c +++ b/sys/powerpc/aim/trap.c @@ -256,9 +256,6 @@ trap(struct trapframe *frame) userret(td, frame, sticks); mtx_assert(&Giant, MA_NOTOWNED); -#ifdef DIAGNOSTIC - cred_free_thread(td); -#endif /* DIAGNOSTIC */ } static void |