* [PATCH] tools: testing: Remove duplicate include of string.h
@ 2021-03-23 3:29 Wan Jiabing
2021-03-24 23:05 ` Andrew Morton
0 siblings, 1 reply; 2+ messages in thread
From: Wan Jiabing @ 2021-03-23 3:29 UTC (permalink / raw)
To: Shuah Khan, Wan Jiabing, Ricardo Cañuelo, Andrew Morton,
linux-kselftest, linux-kernel
Cc: kael_w
string.h has been included at line 15.So we remove the
duplicate one at line 17.
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
tools/testing/selftests/mincore/mincore_selftest.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/testing/selftests/mincore/mincore_selftest.c b/tools/testing/selftests/mincore/mincore_selftest.c
index 5a1e85ff5d32..e54106643337 100644
--- a/tools/testing/selftests/mincore/mincore_selftest.c
+++ b/tools/testing/selftests/mincore/mincore_selftest.c
@@ -14,7 +14,6 @@
#include <sys/mman.h>
#include <string.h>
#include <fcntl.h>
-#include <string.h>
#include "../kselftest.h"
#include "../kselftest_harness.h"
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] tools: testing: Remove duplicate include of string.h
2021-03-23 3:29 [PATCH] tools: testing: Remove duplicate include of string.h Wan Jiabing
@ 2021-03-24 23:05 ` Andrew Morton
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2021-03-24 23:05 UTC (permalink / raw)
To: Wan Jiabing
Cc: Shuah Khan, Ricardo Cañuelo, linux-kselftest, linux-kernel, kael_w
On Tue, 23 Mar 2021 11:29:56 +0800 Wan Jiabing <wanjiabing@vivo.com> wrote:
> string.h has been included at line 15.So we remove the
> duplicate one at line 17.
Thanks. But we already have
https://lkml.kernel.org/r/20210316073336.426255-1-zhang.yunkai@zte.com.cn.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-24 23:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23 3:29 [PATCH] tools: testing: Remove duplicate include of string.h Wan Jiabing
2021-03-24 23:05 ` Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).