소스 검색

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 */