diff options
author | davidxu <davidxu@FreeBSD.org> | 2003-06-30 05:49:06 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2003-06-30 05:49:06 +0000 |
commit | 623b392ac55c474e07f872f37b734074f8e53cfc (patch) | |
tree | 301f62788b89276b96c7b564aa15404255820067 /lib/libpthread/thread | |
parent | 148ac90b45755ea63cc17b211ab5f5439a00f071 (diff) | |
download | FreeBSD-src-623b392ac55c474e07f872f37b734074f8e53cfc.zip FreeBSD-src-623b392ac55c474e07f872f37b734074f8e53cfc.tar.gz |
Remove surplus unlocking code I accidentally checked in. This won't be
triggered until LDT entry is exhausted.
Diffstat (limited to 'lib/libpthread/thread')
-rw-r--r-- | lib/libpthread/thread/thr_kern.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libpthread/thread/thr_kern.c b/lib/libpthread/thread/thr_kern.c index 8a1ecc3..b0cbac7 100644 --- a/lib/libpthread/thread/thr_kern.c +++ b/lib/libpthread/thread/thr_kern.c @@ -2051,10 +2051,6 @@ _kse_alloc(struct pthread *curthread) _lockuser_destroy(&kse->k_lockusers[i]); } free(kse); - if (curthread != NULL) { - KSE_LOCK_RELEASE(curthread->kse, &kse_lock); - _kse_critical_leave(crit); - } return (NULL); } kse->k_flags = 0; |