[PATCH] x86/cpu: Remove unused aperfmperf_get_khz()
From: Haifeng Xu
Date: Wed Jan 24 2024 - 07:30:04 EST
aperfmperf_get_khz() isn't used by anyone, remove it to clean up.
Signed-off-by: Haifeng Xu <haifeng.xu@xxxxxxxxxx>
---
arch/x86/kernel/cpu/cpu.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/x86/kernel/cpu/cpu.h b/arch/x86/kernel/cpu/cpu.h
index 885281ae79a5..6bbee333d055 100644
--- a/arch/x86/kernel/cpu/cpu.h
+++ b/arch/x86/kernel/cpu/cpu.h
@@ -81,7 +81,6 @@ extern void check_null_seg_clears_base(struct cpuinfo_x86 *c);
void cacheinfo_amd_init_llc_id(struct cpuinfo_x86 *c);
void cacheinfo_hygon_init_llc_id(struct cpuinfo_x86 *c);
-unsigned int aperfmperf_get_khz(int cpu);
void cpu_select_mitigations(void);
extern void x86_spec_ctrl_setup_ap(void);
--
2.25.1