Remove surplus unlocking code I accidentally checked in. This won't be
triggered until LDT entry is exhausted.
This commit is contained in:
parent
3d238d9e98
commit
a913c5dd9d
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user