From ee753ed190029f2bb1071fa1905073ad15121ae5 Mon Sep 17 00:00:00 2001 From: julian Date: Tue, 31 Aug 2004 06:12:13 +0000 Subject: 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 --- sys/kern/subr_trap.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'sys/kern/subr_trap.c') 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); } -- cgit v1.1