diff options
Diffstat (limited to 'lib/libpthread/thread/thr_kern.c')
-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; |