[PATCH -next] x86/aperfmperf: Remove unused declaration aperfmperf_get_khz()

Yue Haibing posted 1 patch 1 month, 2 weeks ago
arch/x86/kernel/cpu/cpu.h | 1 -
1 file changed, 1 deletion(-)
[PATCH -next] x86/aperfmperf: Remove unused declaration aperfmperf_get_khz()
Posted by Yue Haibing 1 month, 2 weeks ago
Since commit f3eca381bd49 ("x86/aperfmperf: Replace arch_freq_get_on_cpu()")
this declaration is unused anymore.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 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 5c7a3a71191a..dca2d5845e42 100644
--- a/arch/x86/kernel/cpu/cpu.h
+++ b/arch/x86/kernel/cpu/cpu.h
@@ -75,7 +75,6 @@ static inline struct amd_northbridge *amd_init_l3_cache(int index)
 }
 #endif
 
-unsigned int aperfmperf_get_khz(int cpu);
 void cpu_select_mitigations(void);
 
 extern void x86_spec_ctrl_setup_ap(void);
-- 
2.34.1