* [PATCH] x86/cpu: Remove unused aperfmperf_get_khz()
@ 2024-01-24 12:28 Haifeng Xu
0 siblings, 0 replies; only message in thread
From: Haifeng Xu @ 2024-01-24 12:28 UTC (permalink / raw)
To: tglx; +Cc: mingo, bp, dave.hansen, x86, linux-kernel, Haifeng Xu
aperfmperf_get_khz() isn't used by anyone, remove it to clean up.
Signed-off-by: Haifeng Xu <haifeng.xu@shopee.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 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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-01-24 12:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-24 12:28 [PATCH] x86/cpu: Remove unused aperfmperf_get_khz() Haifeng Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).