Browse Source

drop duplicate test

Samuel Thibault 9 years ago
parent
commit
3f9f7100d8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/workers.c

+ 1 - 1
src/core/workers.c

@@ -381,7 +381,7 @@ int starpu_worker_can_execute_task_first_impl(unsigned workerid, struct starpu_t
 	{
 		for (i = 0; i < STARPU_MAXIMPLEMENTATIONS; i++)
 			if (_starpu_can_use_nth_implementation(arch, cl, i)
-			 && (!task->cl->can_execute || task->cl->can_execute(workerid, task, i)))
+			 && task->cl->can_execute(workerid, task, i))
 			{
 				if (nimpl)
 					*nimpl = i;