[tip: x86/apic] x86/apic: Remove unused inline function apic_set_eoi_cb()

tip-bot2 for Yue Haibing posted 1 patch 1 year, 4 months ago
arch/x86/include/asm/apic.h | 1 -
1 file changed, 1 deletion(-)
[tip: x86/apic] x86/apic: Remove unused inline function apic_set_eoi_cb()
Posted by tip-bot2 for Yue Haibing 1 year, 4 months ago
The following commit has been merged into the x86/apic branch of tip:

Commit-ID:     00e5bd44389145cd2f42be8e98cadb210731e72a
Gitweb:        https://git.kernel.org/tip/00e5bd44389145cd2f42be8e98cadb210731e72a
Author:        Yue Haibing <yuehaibing@huawei.com>
AuthorDate:    Sat, 03 Aug 2024 19:37:04 +08:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Wed, 07 Aug 2024 18:15:35 +02:00

x86/apic: Remove unused inline function apic_set_eoi_cb()

Commit 2744a7ce34a7 ("x86/apic: Replace acpi_wake_cpu_handler_update() and
apic_set_eoi_cb()") left it unused.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20240803113704.246752-1-yuehaibing@huawei.com

---
 arch/x86/include/asm/apic.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h
index 34eaebe..9dd22ee 100644
--- a/arch/x86/include/asm/apic.h
+++ b/arch/x86/include/asm/apic.h
@@ -489,7 +489,6 @@ static inline u64 apic_icr_read(void) { return 0; }
 static inline void apic_icr_write(u32 low, u32 high) { }
 static inline void apic_wait_icr_idle(void) { }
 static inline u32 safe_apic_wait_icr_idle(void) { return 0; }
-static inline void apic_set_eoi_cb(void (*eoi)(void)) {}
 static inline void apic_native_eoi(void) { WARN_ON_ONCE(1); }
 static inline void apic_setup_apic_calls(void) { }