Re: [PATCH-next] perf daemon: Remove duplicate header file

From: Arnaldo Carvalho de Melo
Date: Wed Apr 07 2021 - 08:54:15 EST


Em Wed, Apr 07, 2021 at 05:49:02PM +0800, johnny.chenyi@xxxxxxxxxx escreveu:
> From: Chen Yi <johnny.chenyi@xxxxxxxxxx>
>
> Delete one of the header files <linux/string.h> that are included twice.

Thanks, but I got a patch merged for this already.

- Arnaldo

> Signed-off-by: Chen Yi <johnny.chenyi@xxxxxxxxxx>
> ---
> tools/perf/builtin-daemon.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/tools/perf/builtin-daemon.c b/tools/perf/builtin-daemon.c
> index 7c4a9d424a64..be1a13d06b9c 100644
> --- a/tools/perf/builtin-daemon.c
> +++ b/tools/perf/builtin-daemon.c
> @@ -6,7 +6,6 @@
> #include <linux/zalloc.h>
> #include <linux/string.h>
> #include <linux/limits.h>
> -#include <linux/string.h>
> #include <string.h>
> #include <sys/file.h>
> #include <signal.h>
> --
> 2.31.0
>

--

- Arnaldo