Skip to content

Commit

Permalink
sfi: Remove unused code
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Feng Tang <[email protected]>
Signed-off-by: Len Brown <[email protected]>
  • Loading branch information
KAGA-KOKO authored and lenb committed Sep 15, 2009
1 parent 5f0db7a commit 8079ce3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/x86/kernel/sfi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
Expand Down

0 comments on commit 8079ce3

Please sign in to comment.