about summary refs log tree commit diff
path: root/nptl/tst-cond25.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/tst-cond25.c')
-rw-r--r--nptl/tst-cond25.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/nptl/tst-cond25.c b/nptl/tst-cond25.c
index 4488e74ff4..370cd67d1c 100644
--- a/nptl/tst-cond25.c
+++ b/nptl/tst-cond25.c
@@ -228,11 +228,7 @@ do_test_wait (thr_func f)
 
       for (j = 0; j < NUM; j++)
         {
-          if ((ret = pthread_cancel (w[j])) != 0)
-	    {
-	      printf ("waiter[%d]: cancel failed: %s\n", j, strerror (ret));
-	      goto out;
-	    }
+          pthread_cancel (w[j]);
 
           if ((ret = pthread_join (w[j], &thr_ret)) != 0)
 	    {