lkml.org 
[lkml]   [2021]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH-next] perf daemon: Remove duplicate header file
Em Wed, Apr 07, 2021 at 05:49:02PM +0800, johnny.chenyi@huawei.com escreveu:
> From: Chen Yi <johnny.chenyi@huawei.com>
>
> 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@huawei.com>
> ---
> 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

\
 
 \ /
  Last update: 2021-04-07 14:55    [W:0.042 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site