diff options
author | David Xu <davidxu@FreeBSD.org> | 2003-06-30 05:49:06 +0000 |
---|---|---|
committer | David Xu <davidxu@FreeBSD.org> | 2003-06-30 05:49:06 +0000 |
commit | a913c5dd9d67836c9ad1c3e7f622e2e60cfda96f (patch) | |
tree | 301f62788b89276b96c7b564aa15404255820067 /lib | |
parent | 3d238d9e981227b3bf739a51281e5d200bff3f8c (diff) | |
download | src-a913c5dd9d67836c9ad1c3e7f622e2e60cfda96f.tar.gz src-a913c5dd9d67836c9ad1c3e7f622e2e60cfda96f.zip |
Remove surplus unlocking code I accidentally checked in. This won't be
triggered until LDT entry is exhausted.
Notes
Notes:
svn path=/head/; revision=117063
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libkse/thread/thr_kern.c | 4 | ||||
-rw-r--r-- | lib/libpthread/thread/thr_kern.c | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/lib/libkse/thread/thr_kern.c b/lib/libkse/thread/thr_kern.c index 8a1ecc380443..b0cbac7f9387 100644 --- a/lib/libkse/thread/thr_kern.c +++ b/lib/libkse/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; diff --git a/lib/libpthread/thread/thr_kern.c b/lib/libpthread/thread/thr_kern.c index 8a1ecc380443..b0cbac7f9387 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; |