sfi: Remove unused code
authorThomas Gleixner <tglx@linutronix.de>
Mon, 31 Aug 2009 14:49:19 +0000 (16:49 +0200)
committerLen Brown <len.brown@intel.com>
Tue, 15 Sep 2009 19:04:57 +0000 (15:04 -0400)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/x86/kernel/sfi.c

index 761df3f..b294b7a 100644 (file)
@@ -55,16 +55,12 @@ void __init mp_sfi_register_lapic_address(unsigned long address)
 /* All CPUs enumerated by SFI must be present and enabled */
 void __cpuinit mp_sfi_register_lapic(u8 id)
 {
-       int boot_cpu = 0;
-
        if (MAX_APICS - id <= 0) {
                pr_warning("Processor #%d invalid (max %d)\n",
                        id, MAX_APICS);
                return;
        }
 
-       if (id == boot_cpu_physical_apicid)
-               boot_cpu = 1;
        pr_info("registering lapic[%d]\n", id);
 
        generic_processor_info(id, GET_APIC_VERSION(apic_read(APIC_LVR)));