Kaynağa Gözat

Drop useless initialization

Samuel Thibault 5 yıl önce
ebeveyn
işleme
7725cd0881
1 değiştirilmiş dosya ile 0 ekleme ve 4 silme
  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];
 	double estimated_ends_with_task[component->nchildren];
 
 
 	unsigned i;
 	unsigned i;
-	for(i=0; i < component->nchildren; i++)
-	{
-		estimated_ends_with_task[i] = 0.0;
 
 
-	}
 	/* Minimum transfer+task termination on all children */
 	/* Minimum transfer+task termination on all children */
 	double min_exp_end_with_task;
 	double min_exp_end_with_task;
 	/* Maximum transfer+task termination on all children */
 	/* Maximum transfer+task termination on all children */