[PATCH] fix trivial alpha warning

From: Dave Hansen
Date: Fri Mar 25 2005 - 11:28:30 EST



"bandwidth" variable is unused

Signed-off-by: Dave Hansen <haveblue@xxxxxxxxxx>
---

kernel/spinlock.c | 0
memhotplug-dave/arch/alpha/kernel/smp.c | 1 -
2 files changed, 1 deletion(-)

diff -puN arch/alpha/kernel/smp.c~A0-fix-alpha-warning arch/alpha/kernel/smp.c
--- memhotplug/arch/alpha/kernel/smp.c~A0-fix-alpha-warning 2005-03-25 08:25:38.000000000 -0800
+++ memhotplug-dave/arch/alpha/kernel/smp.c 2005-03-25 08:25:38.000000000 -0800
@@ -188,7 +188,6 @@ smp_tune_scheduling (int cpuid)
struct percpu_struct *cpu;
unsigned long on_chip_cache; /* kB */
unsigned long freq; /* Hz */
- unsigned long bandwidth = 350; /* MB/s */

cpu = (struct percpu_struct*)((char*)hwrpb + hwrpb->processor_offset
+ cpuid * hwrpb->processor_size);
diff -puN include/linux/list.h~A0-fix-alpha-warning include/linux/list.h
diff -puN kernel/sched.c~A0-fix-alpha-warning kernel/sched.c
diff -puN kernel/spinlock.c~A0-fix-alpha-warning kernel/spinlock.c
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/