소스 검색

mpi/src/starpu_mpi_collective.c: fix code for starpu_mpi_scatter_detached (at least i hope, old code not commented is tricky to understand)

Nathalie Furmento 12 년 전
부모
커밋
3f01452297
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      mpi/src/starpu_mpi_collective.c

+ 0 - 1
mpi/src/starpu_mpi_collective.c

@@ -57,7 +57,6 @@ int starpu_mpi_scatter_detached(starpu_data_handle_t *data_handles, int count, i
 		callback_arg->nb = 0;
 		callback_arg->callback = (rank == root) ? scallback : rcallback;
 		callback_arg->arg = (rank == root) ? sarg : rarg;
-		if (callback_arg->callback == NULL)
 
 		for(x = 0; x < count ; x++)
 		{