LoongArch: Remove the definition of cpu_has_perf
PATCH 1/1 LoongArch: Remove the definition of cpu_has_perf
The "cpu_has_perf" has not been used, so, remove it.
Fixes f2ac457a6138 ("LoongArch: Add CPU definition headers")
Signed-off-by Qiang Ma <[email protected]>
--- arch/loongarch/include/asm/cpu-features.h | 1 - 1 file changed, 1 deletion(-)
arch/loongarch/include/asm/cpu-features.h +0 -1
@@ -58,7 +58,6 @@#define cpu_has_extioi cpu_opt(LOONGARCH_CPU_EXTIOI)#define cpu_has_prefetch cpu_opt(LOONGARCH_CPU_PREFETCH)#define cpu_has_pmp cpu_opt(LOONGARCH_CPU_PMP) -#define cpu_has_perf cpu_opt(LOONGARCH_CPU_PMP)#define cpu_has_scalefreq cpu_opt(LOONGARCH_CPU_SCALEFREQ)#define cpu_has_flatmode cpu_opt(LOONGARCH_CPU_FLATMODE)#define cpu_has_eiodecode cpu_opt(LOONGARCH_CPU_EIODECODE)
Signature · 1 line
2.20.1