[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240803113704.246752-1-yuehaibing@huawei.com>
Date: Sat, 3 Aug 2024 19:37:04 +0800
From: Yue Haibing <yuehaibing@...wei.com>
To: <tglx@...utronix.de>, <mingo@...hat.com>, <bp@...en8.de>,
<dave.hansen@...ux.intel.com>, <x86@...nel.org>, <hpa@...or.com>,
<peterz@...radead.org>
CC: <linux-kernel@...r.kernel.org>, <yuehaibing@...wei.com>
Subject: [PATCH -next] 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()") leave it unused.
Signed-off-by: Yue Haibing <yuehaibing@...wei.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 9327eb00e96d..cf45af56d22a 100644
--- a/arch/x86/include/asm/apic.h
+++ b/arch/x86/include/asm/apic.h
@@ -484,7 +484,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) { }
--
2.34.1
Powered by blists - more mailing lists