소스 검색

minor change: remove a useless branch

Terry Cojean 8 년 전
부모
커밋
362a0812e6
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      src/core/sched_ctx.c

+ 0 - 3
src/core/sched_ctx.c

@@ -2525,9 +2525,6 @@ static void _starpu_sched_ctx_put_new_master(unsigned sched_ctx_id)
 				 sched_ctx->main_master = workerids[i];
 				 break;
 			 }
-	     else {
-				 sched_ctx->main_master = -1;
-			 }
 	}
 }