Browse Source

drop spurious changes

Samuel Thibault 4 years ago
parent
commit
455c1926b7
1 changed files with 1 additions and 5 deletions
  1. 1 5
      src/sched_policies/component_eager.c

+ 1 - 5
src/sched_policies/component_eager.c

@@ -35,15 +35,11 @@ static int eager_push_task(struct starpu_sched_component * component, struct sta
 	struct _starpu_eager_data *d = component->data;
 	struct starpu_sched_component *target;
 
-	//STARPU_COMPONENT_MUTEX_LOCK(&d->scheduling_mutex);
-	if (d->ntasks == 0) {
+	if (d->ntasks == 0)
 		/* We have already pushed a task down */
-		//STARPU_COMPONENT_MUTEX_UNLOCK(&d->scheduling_mutex);
 		return 1;
-	}
 	if (d->ntasks > 0)
 		d->ntasks--;
-	//STARPU_COMPONENT_MUTEX_UNLOCK(&d->scheduling_mutex);
 
 	if ((target = d->target))
 	{