From 37785907d57a771313c658c1b167b06132fb2398 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Wed, 17 Oct 2012 21:02:56 +0530 Subject: Don't check error return for pthread_cancel in tst-cond25 --- nptl/tst-cond25.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'nptl/tst-cond25.c') 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) { -- cgit v1.2.3