summaryrefslogtreecommitdiff
path: root/pthread/pt-alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread/pt-alloc.c')
-rw-r--r--pthread/pt-alloc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/pthread/pt-alloc.c b/pthread/pt-alloc.c
index f4634de..22a3000 100644
--- a/pthread/pt-alloc.c
+++ b/pthread/pt-alloc.c
@@ -69,9 +69,7 @@ initialize_pthread (struct __pthread *new)
memset (&new->res_state, '\0', sizeof (new->res_state));
-#ifdef ENABLE_TLS
new->tcb = NULL;
-#endif
new->next = 0;
new->prevp = 0;
@@ -111,13 +109,11 @@ __pthread_alloc (struct __pthread **pthread)
if (new)
{
-#ifdef ENABLE_TLS
if (new->tcb)
{
/* Drop old values */
_dl_deallocate_tls (new->tcb, 1);
}
-#endif /* ENABLE_TLS */
err = initialize_pthread (new);
if (! err)