[PATCH] Remove empty setup_portio_remap inlines in bigsmp/summit

From: Andi Kleen
Date: Fri Jan 30 2009 - 05:18:22 EST


From: Andi Kleen <ak@xxxxxxxxxxxxxxx>

These are all unused inlines

Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
---
arch/x86/include/asm/bigsmp/apic.h | 4 ----
arch/x86/kernel/bigsmp_32.c | 4 ----
arch/x86/kernel/summit_32.c | 4 ----
3 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/arch/x86/include/asm/bigsmp/apic.h b/arch/x86/include/asm/bigsmp/apic.h
index ee29d66..646697e 100644
--- a/arch/x86/include/asm/bigsmp/apic.h
+++ b/arch/x86/include/asm/bigsmp/apic.h
@@ -95,10 +95,6 @@ static inline physid_mask_t bigsmp_ioapic_phys_id_map(physid_mask_t phys_map)
return physids_promote(0xFFL);
}

-static inline void bigsmp_setup_portio_remap(void)
-{
-}
-
static inline int bigsmp_check_phys_apicid_present(int boot_cpu_physical_apicid)
{
return 1;
diff --git a/arch/x86/kernel/bigsmp_32.c b/arch/x86/kernel/bigsmp_32.c
index b1f9193..b74f070 100644
--- a/arch/x86/kernel/bigsmp_32.c
+++ b/arch/x86/kernel/bigsmp_32.c
@@ -114,10 +114,6 @@ static inline physid_mask_t bigsmp_ioapic_phys_id_map(physid_mask_t phys_map)
return physids_promote(0xFFL);
}

-static inline void bigsmp_setup_portio_remap(void)
-{
-}
-
static inline int bigsmp_check_phys_apicid_present(int boot_cpu_physical_apicid)
{
return 1;
diff --git a/arch/x86/kernel/summit_32.c b/arch/x86/kernel/summit_32.c
index 84ff9eb..a04bc99 100644
--- a/arch/x86/kernel/summit_32.c
+++ b/arch/x86/kernel/summit_32.c
@@ -294,10 +294,6 @@ static inline physid_mask_t summit_apicid_to_cpu_present(int apicid)
return physid_mask_of_physid(0);
}

-static inline void summit_setup_portio_remap(void)
-{
-}
-
static inline int summit_check_phys_apicid_present(int boot_cpu_physical_apicid)
{
return 1;
--
1.5.6.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/