Explorar o código

minor change: remove a useless branch

Terry Cojean %!s(int64=8) %!d(string=hai) anos
pai
achega
362a0812e6
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  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;
-			 }
 	}
 }