about summary refs log tree commit diff
path: root/nptl/cleanup.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/cleanup.c')
-rw-r--r--nptl/cleanup.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/nptl/cleanup.c b/nptl/cleanup.c
index fd372b65d3..a25b397f9c 100644
--- a/nptl/cleanup.c
+++ b/nptl/cleanup.c
@@ -33,9 +33,6 @@ _pthread_cleanup_push (buffer, routine, arg)
   buffer->__arg = arg;
   buffer->__prev = THREAD_GETMEM (self, cleanup);
 
-  if (buffer->__prev != NULL && FRAME_LEFT (buffer, buffer->__prev))
-    buffer->__prev = NULL;
-
   THREAD_SETMEM (self, cleanup, buffer);
 }
 strong_alias (_pthread_cleanup_push, __pthread_cleanup_push)