소스 검색

examples/sched_ctx/parallel_code.c: remove unused variable

Nathalie Furmento 9 년 전
부모
커밋
fdd82490b4
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      examples/sched_ctx/parallel_code.c

+ 0 - 2
examples/sched_ctx/parallel_code.c

@@ -25,7 +25,6 @@
 #endif
 
 int tasks_executed[2];
-starpu_pthread_mutex_t mut;
 
 int parallel_code(unsigned *sched_ctx)
 {
@@ -88,7 +87,6 @@ int main(int argc, char **argv)
 		return 77;
 	STARPU_CHECK_RETURN_VALUE(ret, "starpu_init");
 
-	starpu_pthread_mutex_init(&mut, NULL);
 	int nprocs1 = 1;
 	int nprocs2 = 1;
 	int *procs1, *procs2;