Remove surplus unlocking code I accidentally checked in. This won't be

triggered until LDT entry is exhausted.
This commit is contained in:
David Xu 2003-06-30 05:49:06 +00:00
parent 3d238d9e98
commit a913c5dd9d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=117063
2 changed files with 0 additions and 8 deletions

View file

@ -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;

View file

@ -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;