about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/libc-start.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sysdeps/generic/libc-start.c b/sysdeps/generic/libc-start.c
index c619341e56..3c7f2fa639 100644
--- a/sysdeps/generic/libc-start.c
+++ b/sysdeps/generic/libc-start.c
@@ -145,12 +145,8 @@ BP_SYM (__libc_start_main) (int (*main) (int, char **, char **),
     }
 #ifdef HAVE_CANCELBUF
   else
-    {
-      /* XXX We should free the thread-specific data.  */
-
-      /* Not much left to do but to exit the thread, not the process.  */
-      __exit_thread (0);
-    }
+    /* Not much left to do but to exit the thread, not the process.  */
+    __exit_thread (0);
 #endif
 
   exit (result);