aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--litmus/sync.c3
1 files changed, 1 insertions, 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)
33 33
34static long do_release_ts(lt_t start) 34static long do_release_ts(lt_t start)
35{ 35{
36 long ret = 0;
37 int task_count = 0; 36 int task_count = 0;
38 long flags; 37 long flags;
39 struct list_head *pos; 38 struct list_head *pos;
@@ -54,7 +53,7 @@ static long do_release_ts(lt_t start)
54 53
55 complete_n(&ts_release, task_count); 54 complete_n(&ts_release, task_count);
56 55
57 return ret; 56 return task_count;
58} 57}
59 58
60 59