diff --git a/src/qsched.c b/src/qsched.c
index ce6cb7132f110b5f127ba35c5df4764be4f321fc..ffc74f5a13646d80b1cbe6e113ac9dcf3e7a3562 100644
--- a/src/qsched.c
+++ b/src/qsched.c
@@ -2383,8 +2383,6 @@ for(i = 0; i < count; i++)
                 }
 
             }
-            if(data_pos[getindex(t->locks[j], s)] <= i)
-                data_pos[getindex(t->locks[j], s)] = i;   
         }/* Loop over j */
 
         /* Loop through the uses, and for each resource that is not local create a send/recv pair. */