summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authormini <mini@FreeBSD.org>2002-06-24 06:22:00 +0000
committermini <mini@FreeBSD.org>2002-06-24 06:22:00 +0000
commitef6f2f567d1cf6942a9945002a5a13ef15c4abbb (patch)
tree2fbf808f715e544884ceac40adea1a37d316bbed /sys/alpha
parent43f0d4bddcc8e92cbe8e883b8c22965ba082ce8d (diff)
downloadFreeBSD-src-ef6f2f567d1cf6942a9945002a5a13ef15c4abbb.zip
FreeBSD-src-ef6f2f567d1cf6942a9945002a5a13ef15c4abbb.tar.gz
Remove unused diagnostic function cread_free_thread().
Approved by: alfred
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/alpha/trap.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/alpha/alpha/trap.c b/sys/alpha/alpha/trap.c
index 36559b9..6cdf9f4 100644
--- a/sys/alpha/alpha/trap.c
+++ b/sys/alpha/alpha/trap.c
@@ -589,9 +589,6 @@ out:
framep->tf_regs[FRAME_SP] = alpha_pal_rdusp();
userret(td, framep, sticks);
mtx_assert(&Giant, MA_NOTOWNED);
-#ifdef DIAGNOSTIC
- cred_free_thread(td);
-#endif
}
return;
@@ -778,9 +775,6 @@ syscall(code, 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",
OpenPOWER on IntegriCloud