Browse Source

minor change: remove a useless branch

Terry Cojean 8 years ago
parent
commit
362a0812e6
1 changed files with 0 additions and 3 deletions
  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;
-			 }
 	}
 }