Преглед на файлове

component_fifo: drop now-useless test

Samuel Thibault преди 5 години
родител
ревизия
84f82b2a11
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/sched_policies/component_fifo.c

+ 1 - 1
src/sched_policies/component_fifo.c

@@ -107,7 +107,7 @@ static int fifo_push_local_task(struct starpu_sched_component * component, struc
 		else
 			exp_len = fifo->exp_len;
 
-		if ((data->ntasks_threshold != 0 && fifo->ntasks >= data->ntasks_threshold) || (data->exp_len_threshold != 0.0 && exp_len >= data->exp_len_threshold))
+		if (data->exp_len_threshold != 0.0 && exp_len >= data->exp_len_threshold)
 		{
 			static int warned;
 			if(data->exp_len_threshold != 0.0 && task->predicted > data->exp_len_threshold && !warned)