about summary refs log tree commit diff
path: root/nptl/libc-cancellation.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/libc-cancellation.c')
-rw-r--r--nptl/libc-cancellation.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/nptl/libc-cancellation.c b/nptl/libc-cancellation.c
index 0d584fbb33..344a2181c8 100644
--- a/nptl/libc-cancellation.c
+++ b/nptl/libc-cancellation.c
@@ -54,9 +54,6 @@ __libc_enable_asynccancel (void)
 
 	  THREAD_SETMEM (self, result, PTHREAD_CANCELED);
 
-	  /* The thread is exiting now.  */
-	  atomic_bit_set (&self->cancelhandling, EXITING_BIT);
-
 	  __do_cancel ();
 
 	  /* NOTREACHED */