[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAP-5=fXxwCjcsej5QJMoAz1kvoy5LLKUDMop0GzBMuj8oc3mmA@mail.gmail.com>
Date: Mon, 17 Jan 2022 08:31:12 -0800
From: Ian Rogers <irogers@...gle.com>
To: cgel.zte@...il.com
Cc: mingo@...hat.com, acme@...nel.org, mark.rutland@....com,
alexander.shishkin@...ux.intel.com, jolsa@...hat.com,
namhyung@...nel.org, james.clark@....com,
linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org,
Lv Ruyi <lv.ruyi@....com.cn>, Zeal Robot <zealci@....com.cn>
Subject: Re: [PATCH] perf cpumap: remove duplicate include in cpumap.h
On Mon, Jan 17, 2022 at 12:37 AM <cgel.zte@...il.com> wrote:
>
> From: Lv Ruyi <lv.ruyi@....com.cn>
>
> Remove all but the first include of stdbool.h from cpumap.h.
>
> Reported-by: Zeal Robot <zealci@....com.cn>
> Signed-off-by: Lv Ruyi <lv.ruyi@....com.cn>
> Signed-off-by: CGEL ZTE <cgel.zte@...il.com>
Acked-by: Ian Rogers <irogers@...gle.com>
Thanks,
Ian
> ---
> tools/perf/util/cpumap.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/tools/perf/util/cpumap.h b/tools/perf/util/cpumap.h
> index 0d3c2006a15d..240db1da370c 100644
> --- a/tools/perf/util/cpumap.h
> +++ b/tools/perf/util/cpumap.h
> @@ -4,7 +4,6 @@
>
> #include <stdbool.h>
> #include <stdio.h>
> -#include <stdbool.h>
> #include <internal/cpumap.h>
> #include <perf/cpumap.h>
>
> --
> 2.25.1
>
Powered by blists - more mailing lists