ソースを参照

drop useless test

Samuel Thibault 9 年 前
コミット
d5c5a66deb
共有1 個のファイルを変更した1 個の追加2 個の削除を含む
  1. 1 2
      src/sched_policies/component_sched.c

+ 1 - 2
src/sched_policies/component_sched.c

@@ -69,9 +69,8 @@ int starpu_sched_component_execute_preds(struct starpu_sched_component * compone
 					return can_execute;
 						
 				}
-				if(_STARPU_IS_ZERO(d) && !can_execute)
+				if(_STARPU_IS_ZERO(d))
 				{
-					can_execute = 1;
 					continue;
 				}
 				if(d < len)