Przeglądaj źródła

tests/main/insert_task_pack.c: remove unreachable code

Nathalie Furmento 9 lat temu
rodzic
commit
62e33d6876
1 zmienionych plików z 0 dodań i 7 usunięć
  1. 0 7
      tests/main/insert_task_pack.c

+ 0 - 7
tests/main/insert_task_pack.c

@@ -53,11 +53,4 @@ int main(int argc, char **argv)
 
 	FPRINTF(stderr, "Task %p\n", task);
 	return (task==NULL)?0:1;
-
-enodev:
-	starpu_shutdown();
-	fprintf(stderr, "WARNING: No one can execute this task\n");
-	/* yes, we do not perform the computation but we did detect that no one
- 	 * could perform the kernel, so this is not an error from StarPU */
-	return STARPU_TEST_SKIPPED;
 }