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

Message ID 20240214113947.240957-2-leo.yan@linux.dev
State New
Headers
Series perf parse-regs: Cleanup config and building |

Commit Message

Leo Yan Feb. 14, 2024, 11:39 a.m. UTC
  CONFIG_PERF_REGS is not used, remove it.

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

Patch

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