ソースを参照

src/drivers/gordon/driver_gordon.c: remove un-needed variable

Nathalie Furmento 8 年 前
コミット
43d106eba0
共有1 個のファイルを変更した2 個の追加3 個の削除を含む
  1. 2 3
      src/drivers/gordon/driver_gordon.c

+ 2 - 3
src/drivers/gordon/driver_gordon.c

@@ -1,7 +1,7 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
  * Copyright (C) 2009-2015  Université de Bordeaux
- * Copyright (C) 2010, 2011, 2013  CNRS
+ * Copyright (C) 2010, 2011, 2013, 2016  CNRS
  * Copyright (C) 2011  Télécom-SudParis
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -352,7 +352,6 @@ void *gordon_worker_inject(struct _starpu_worker_set *arg)
 		else
 		{
 #ifndef NOCHAIN
-			int ret = 0;
 #ifdef STARPU_DEVEL
 #warning we should look into the local job list here !
 #endif
@@ -401,7 +400,7 @@ void *gordon_worker_inject(struct _starpu_worker_set *arg)
 						chunk_list = list;
 					}
 
-					ret = inject_task_list(chunk_list, &arg->workers[0]);
+					inject_task_list(chunk_list, &arg->workers[0]);
 				}
 			}
 			else