All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH-next] perf daemon: Remove duplicate header file
@ 2021-04-07  9:49 johnny.chenyi
  2021-04-07 12:54 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 2+ messages in thread
From: johnny.chenyi @ 2021-04-07  9:49 UTC (permalink / raw)
  To: peterz, mingo, acme, mark.rutland, alexander.shishkin, jolsa, namhyung
  Cc: linux-kernel, yuehaibing, heying24

From: Chen Yi <johnny.chenyi@huawei.com>

Delete one of the header files <linux/string.h> that are included twice.

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH-next] perf daemon: Remove duplicate header file
  2021-04-07  9:49 [PATCH-next] perf daemon: Remove duplicate header file johnny.chenyi
@ 2021-04-07 12:54 ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2021-04-07 12:54 UTC (permalink / raw)
  To: johnny.chenyi
  Cc: peterz, mingo, mark.rutland, alexander.shishkin, jolsa, namhyung,
	linux-kernel, yuehaibing, heying24

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-07 12:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-07  9:49 [PATCH-next] perf daemon: Remove duplicate header file johnny.chenyi
2021-04-07 12:54 ` Arnaldo Carvalho de Melo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.