[Cbe-oss-dev] [PATCH] spusched: fix unused variable warnings

Christoph Hellwig hch at lst.de
Tue Jul 31 23:47:10 EST 2007


Signed-off-by: Christoph Hellwig <hch at lst.de>

Index: linux-cell/arch/powerpc/platforms/cell/spufs/sched.c
===================================================================
--- linux-cell.orig/arch/powerpc/platforms/cell/spufs/sched.c	2007-07-31 14:44:49.000000000 +0200
+++ linux-cell/arch/powerpc/platforms/cell/spufs/sched.c	2007-07-31 14:45:05.000000000 +0200
@@ -859,7 +859,7 @@ static void spusched_wake(unsigned long 
 
 static int spusched_thread(void *unused)
 {
-	struct spu *spu, *next;
+	struct spu *spu;
 	int node;
 
 	while (!kthread_should_stop()) {
@@ -959,7 +959,7 @@ int __init spu_sched_init(void)
 
 void __exit spu_sched_exit(void)
 {
-	struct spu *spu, *tmp;
+	struct spu *spu;
 	int node;
 
 	remove_proc_entry("spu_loadavg", NULL);



More information about the cbe-oss-dev mailing list