aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/sfi.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-08-31 16:49:19 +0200
committerLen Brown <len.brown@intel.com>2009-09-15 15:04:57 -0400
commit8079ce34f2c3f5bfedcea8d4fb7290ce46ac5b56 (patch)
treeec5510b5261120244f6d6dd3f4a1a813a98fcedf /arch/x86/kernel/sfi.c
parentSFI: Hook PCI MMCONFIG (diff)
downloadlinux-dev-8079ce34f2c3f5bfedcea8d4fb7290ce46ac5b56.tar.xz
linux-dev-8079ce34f2c3f5bfedcea8d4fb7290ce46ac5b56.zip
sfi: Remove unused code
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>
Diffstat (limited to 'arch/x86/kernel/sfi.c')
-rw-r--r--arch/x86/kernel/sfi.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/kernel/sfi.c b/arch/x86/kernel/sfi.c
index 761df3f759c1..b294b7a0d4b9 100644
--- a/arch/x86/kernel/sfi.c
+++ b/arch/x86/kernel/sfi.c
@@ -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)));