瀏覽代碼

set_priority already done in add_workers

Olivier Aumage 8 年之前
父節點
當前提交
ce7a2c646e
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/core/sched_ctx.c

+ 0 - 1
src/core/sched_ctx.c

@@ -1165,7 +1165,6 @@ void starpu_sched_ctx_delete(unsigned sched_ctx_id)
 	   !(nworkers_ctx == nworkers && nworkers_ctx == inheritor_sched_ctx->workers->nworkers))
 	{
 		starpu_sched_ctx_add_workers(workerids, nworkers_ctx, inheritor_sched_ctx_id);
-		starpu_sched_ctx_set_priority(workerids, nworkers_ctx, inheritor_sched_ctx_id, 1);
 		starpu_sched_ctx_set_priority_on_level(workerids, nworkers_ctx, inheritor_sched_ctx_id, 1);
 	}