[PATCH v1 1/4] perf build: Remove unused CONFIG_PERF_REGS

From: Leo Yan
Date: Wed Feb 14 2024 - 06:40:37 EST


CONFIG_PERF_REGS is not used, remove it.

Signed-off-by: Leo Yan <leo.yan@xxxxxxxxx>
---
tools/perf/Makefile.config | 4 ----
1 file changed, 4 deletions(-)

diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config
index aa55850fbc21..8b740c668ab7 100644
--- a/tools/perf/Makefile.config
+++ b/tools/perf/Makefile.config
@@ -105,10 +105,6 @@ ifeq ($(ARCH),mips)
LIBUNWIND_LIBS = -lunwind -lunwind-mips
endif

-ifeq ($(NO_PERF_REGS),0)
- $(call detected,CONFIG_PERF_REGS)
-endif
-
# So far there's only x86 and arm libdw unwind support merged in perf.
# Disable it on all other architectures in case libdw unwind
# support is detected in system. Add supported architectures
--
2.34.1