Explorar el Código

src/core/sched_policy.c: remove unused variable

Nathalie Furmento hace 13 años
padre
commit
0b6edc6270
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/core/sched_policy.c

+ 2 - 2
src/core/sched_policy.c

@@ -562,7 +562,7 @@ pick:
 	{
 	{
 		struct _starpu_sched_ctx *sched_ctx;
 		struct _starpu_sched_ctx *sched_ctx;
 
 
-		unsigned lucky_ctx = STARPU_NMAX_SCHED_CTXS;
+		//unsigned lucky_ctx = STARPU_NMAX_SCHED_CTXS;
 
 
 		int been_here[STARPU_NMAX_SCHED_CTXS];
 		int been_here[STARPU_NMAX_SCHED_CTXS];
 		int i;
 		int i;
@@ -581,7 +581,7 @@ pick:
 				if (sched_ctx->sched_policy && sched_ctx->sched_policy->pop_task)
 				if (sched_ctx->sched_policy && sched_ctx->sched_policy->pop_task)
 				{
 				{
 					task = sched_ctx->sched_policy->pop_task(sched_ctx->id);
 					task = sched_ctx->sched_policy->pop_task(sched_ctx->id);
-					lucky_ctx = sched_ctx->id;
+					//lucky_ctx = sched_ctx->id;
 				}
 				}
 			}
 			}