]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] Restore apparant pointless change in arch/arm/kernel/smp.c
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 12 Nov 2005 17:21:47 +0000 (17:21 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 12 Nov 2005 17:21:47 +0000 (17:21 +0000)
Restore smp.c back to how it used to be.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/smp.c

index e55ea952f7aa1d9f84ecce020d5caaa548f244fd..373c0959bc2f64ff02e72610e3091f53b6cd9763 100644 (file)
@@ -256,9 +256,7 @@ void __cpuexit cpu_die(void)
 asmlinkage void __cpuinit secondary_start_kernel(void)
 {
        struct mm_struct *mm = &init_mm;
-       unsigned int cpu;
-
-       cpu = smp_processor_id();
+       unsigned int cpu = smp_processor_id();
 
        printk("CPU%u: Booted secondary processor\n", cpu);