[PATCH v1 02/11] perf build: Remove defined but never used variable

Ian Rogers posted 11 patches 2 months ago
There is a newer version of this series
[PATCH v1 02/11] perf build: Remove defined but never used variable
Posted by Ian Rogers 2 months ago
Previously NO_DWARF_UNWIND was part of conditional compilation but it
is now unused so remove.

Signed-off-by: Ian Rogers <irogers@google.com>
---
 tools/perf/Makefile.config | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config
index 55a39211496d..182e14e39cd5 100644
--- a/tools/perf/Makefile.config
+++ b/tools/perf/Makefile.config
@@ -753,8 +753,6 @@ endif
 ifeq ($(dwarf-post-unwind),1)
   CFLAGS += -DHAVE_DWARF_UNWIND_SUPPORT
   $(call detected,CONFIG_DWARF_UNWIND)
-else
-  NO_DWARF_UNWIND := 1
 endif
 
 ifndef NO_LOCAL_LIBUNWIND
-- 
2.46.0.792.g87dc391469-goog
Re: [PATCH v1 02/11] perf build: Remove defined but never used variable
Posted by Masami Hiramatsu (Google) 2 months ago
On Tue, 24 Sep 2024 09:04:09 -0700
Ian Rogers <irogers@google.com> wrote:

> Previously NO_DWARF_UNWIND was part of conditional compilation but it
> is now unused so remove.
> 

Reviewed-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>

Thank you!

> Signed-off-by: Ian Rogers <irogers@google.com>
> ---
>  tools/perf/Makefile.config | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config
> index 55a39211496d..182e14e39cd5 100644
> --- a/tools/perf/Makefile.config
> +++ b/tools/perf/Makefile.config
> @@ -753,8 +753,6 @@ endif
>  ifeq ($(dwarf-post-unwind),1)
>    CFLAGS += -DHAVE_DWARF_UNWIND_SUPPORT
>    $(call detected,CONFIG_DWARF_UNWIND)
> -else
> -  NO_DWARF_UNWIND := 1
>  endif
>  
>  ifndef NO_LOCAL_LIBUNWIND
> -- 
> 2.46.0.792.g87dc391469-goog
> 


-- 
Masami Hiramatsu (Google) <mhiramat@kernel.org>