Re: [PATCH -next] perf tools: Remove duplicate #undef

From: Arnaldo Carvalho de Melo
Date: Wed Jun 16 2021 - 14:06:00 EST


Em Wed, Jun 16, 2021 at 08:03:39PM +0800, Li Huafei escreveu:
> Remove duplicate '#undef E'.

Thanks, applied.

- Arnaldo


> Signed-off-by: Li Huafei <lihuafei1@xxxxxxxxxx>
> ---
> tools/perf/util/mem-events.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/tools/perf/util/mem-events.c b/tools/perf/util/mem-events.c
> index f93a852ad838..91e6d61fed46 100644
> --- a/tools/perf/util/mem-events.c
> +++ b/tools/perf/util/mem-events.c
> @@ -24,8 +24,6 @@ static struct perf_mem_event perf_mem_events[PERF_MEM_EVENTS__MAX] = {
> };
> #undef E
>
> -#undef E
> -
> static char mem_loads_name[100];
> static bool mem_loads_name__init;
>
> --
> 2.17.1
>

--

- Arnaldo