ia64: cleanup remove_siblinginfo()
[linux-2.6-microblaze.git] / arch / ia64 / kernel / smpboot.c
index d10f780..d0e935c 100644 (file)
@@ -576,8 +576,6 @@ clear_cpu_sibling_map(int cpu)
 static void
 remove_siblinginfo(int cpu)
 {
-       int last = 0;
-
        if (cpu_data(cpu)->threads_per_core == 1 &&
            cpu_data(cpu)->cores_per_socket == 1) {
                cpumask_clear_cpu(cpu, &cpu_core_map[cpu]);
@@ -585,8 +583,6 @@ remove_siblinginfo(int cpu)
                return;
        }
 
-       last = (cpumask_weight(&cpu_core_map[cpu]) == 1 ? 1 : 0);
-
        /* remove it from all sibling map's */
        clear_cpu_sibling_map(cpu);
 }