浏览代码

Drop useless initialization

Samuel Thibault 5 年之前
父节点
当前提交
7725cd0881
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      src/sched_policies/component_mct.c

+ 0 - 4
src/sched_policies/component_mct.c

@@ -38,11 +38,7 @@ static int mct_push_task(struct starpu_sched_component * component, struct starp
 	double estimated_ends_with_task[component->nchildren];
 
 	unsigned i;
-	for(i=0; i < component->nchildren; i++)
-	{
-		estimated_ends_with_task[i] = 0.0;
 
-	}
 	/* Minimum transfer+task termination on all children */
 	double min_exp_end_with_task;
 	/* Maximum transfer+task termination on all children */