diff options
author | mini <mini@FreeBSD.org> | 2002-06-24 06:22:00 +0000 |
---|---|---|
committer | mini <mini@FreeBSD.org> | 2002-06-24 06:22:00 +0000 |
commit | ef6f2f567d1cf6942a9945002a5a13ef15c4abbb (patch) | |
tree | 2fbf808f715e544884ceac40adea1a37d316bbed /sys/ia64 | |
parent | 43f0d4bddcc8e92cbe8e883b8c22965ba082ce8d (diff) | |
download | FreeBSD-src-ef6f2f567d1cf6942a9945002a5a13ef15c4abbb.zip FreeBSD-src-ef6f2f567d1cf6942a9945002a5a13ef15c4abbb.tar.gz |
Remove unused diagnostic function cread_free_thread().
Approved by: alfred
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/ia64/trap.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/ia64/ia64/trap.c b/sys/ia64/ia64/trap.c index ef0cebf..e38945f 100644 --- a/sys/ia64/ia64/trap.c +++ b/sys/ia64/ia64/trap.c @@ -740,9 +740,6 @@ out: if (user) { userret(td, framep, sticks); mtx_assert(&Giant, MA_NOTOWNED); -#ifdef DIAGNOSTIC - cred_free_thread(td); -#endif } return; @@ -894,9 +891,6 @@ syscall(int code, u_int64_t *args, struct trapframe *framep) */ STOPEVENT(p, S_SCX, code); -#ifdef DIAGNOSTIC - cred_free_thread(td); -#endif #ifdef WITNESS if (witness_list(td)) { panic("system call %s returning with mutex(s) held\n", @@ -1071,10 +1065,6 @@ ia32_syscall(struct trapframe *framep) */ STOPEVENT(p, S_SCX, code); -#ifdef DIAGNOSTIC - cred_free_thread(td); -#endif - #ifdef WITNESS if (witness_list(td)) { panic("system call %s returning with mutex(s) held\n", |