[PATCH] LoongArch: Remove the definition of cpu_has_perf

Qiang Ma posted 1 patch 1 month, 2 weeks ago
arch/loongarch/include/asm/cpu-features.h | 1 -
1 file changed, 1 deletion(-)
[PATCH] LoongArch: Remove the definition of cpu_has_perf
Posted by Qiang Ma 1 month, 2 weeks ago
The "cpu_has_perf" has not been used, so, remove it.

Fixes: f2ac457a6138 ("LoongArch: Add CPU definition headers")

Signed-off-by: Qiang Ma <maqianga@uniontech.com>
---
 arch/loongarch/include/asm/cpu-features.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/loongarch/include/asm/cpu-features.h b/arch/loongarch/include/asm/cpu-features.h
index 62059c5551b9..fa549b7b0626 100644
--- a/arch/loongarch/include/asm/cpu-features.h
+++ b/arch/loongarch/include/asm/cpu-features.h
@@ -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)
-- 
2.20.1