From a53e6c2568dd9e5799dfb812afdec6f3ade03e91 Mon Sep 17 00:00:00 2001 From: "Bjoern B. Brandenburg" Date: Fri, 15 Feb 2008 18:38:37 -0500 Subject: return the number of released tasks --- litmus/sync.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/litmus/sync.c b/litmus/sync.c index fccde19236..ca3b7f3707 100644 --- a/litmus/sync.c +++ b/litmus/sync.c @@ -33,7 +33,6 @@ static long do_wait_for_ts_release(void) static long do_release_ts(lt_t start) { - long ret = 0; int task_count = 0; long flags; struct list_head *pos; @@ -54,7 +53,7 @@ static long do_release_ts(lt_t start) complete_n(&ts_release, task_count); - return ret; + return task_count; } -- cgit v1.2.2