lkml.org 
[lkml]   [2021]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH-next] perf daemon: Remove duplicate header file
Date
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
\
 
 \ /
  Last update: 2021-04-07 11:50    [W:0.043 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site