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/amd64 | |
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/amd64')
-rw-r--r-- | sys/amd64/amd64/trap.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c index c14e837..45e5c3b 100644 --- a/sys/amd64/amd64/trap.c +++ b/sys/amd64/amd64/trap.c @@ -651,9 +651,6 @@ user: userret(td, &frame, sticks); mtx_assert(&Giant, MA_NOTOWNED); userout: -#ifdef DIAGNOSTIC - cred_free_thread(td); -#endif out: return; } @@ -1079,10 +1076,6 @@ syscall(frame) */ 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", |