From 8555f00df581e83dcb62ecf1c18c915778d5daf9 Mon Sep 17 00:00:00 2001
From: Aidan Chalk <aidan.chalk@durham.ac.uk>
Date: Tue, 7 Mar 2017 22:04:35 +0000
Subject: [PATCH] Fixed a bug that would occur if we had local and non-local
 tasks with joint children & no parents that lock on the same resource (this
 doesn't happen in our tests, so doesn't affect our results).

---
 src/qsched.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/qsched.c b/src/qsched.c
index 4756717..ce6cb71 100644
--- a/src/qsched.c
+++ b/src/qsched.c
@@ -2568,8 +2568,6 @@ for(i = 0; i < count; i++)
                      tsched_addunlock( &ts, first_recv[lock_index], t->id);
                 }
             }
-            if(data_pos[lock_index] <= i)
-                data_pos[lock_index] = i;  
             continue;
         }/* If no current parents.*/
 
-- 
GitLab