[PATCH selftests/bpf] selftests/bpf: remove duplicate include in cgroup_helpers.c.

Subsystems: bpf [general] (safe dynamic programs and tools), bpf [selftests] (test runners & infrastructure), kernel selftest framework, the rest

STALE1761d

2 messages, 2 authors, 2021-10-20 · open the first message on its own page

[PATCH selftests/bpf] selftests/bpf: remove duplicate include in cgroup_helpers.c.

From: <hidden>
Date: 2021-10-19 01:45:59

From: Ran Jianping <redacted>

unistd.h included in '/tools/testing/selftests/bpf/cgroup_helpers.c'
 is duplicated.It is also included on the 14 line.

Reported-by: Zeal Robot <redacted>
Signed-off-by: Ran Jianping <redacted>
---
 tools/testing/selftests/bpf/cgroup_helpers.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/tools/testing/selftests/bpf/cgroup_helpers.c b/tools/testing/selftests/bpf/cgroup_helpers.c
index 8fcd44841bb2..9d59c3990ca8 100644
--- a/tools/testing/selftests/bpf/cgroup_helpers.c
+++ b/tools/testing/selftests/bpf/cgroup_helpers.c
@@ -11,7 +11,6 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <ftw.h>
-#include <unistd.h>
 
 #include "cgroup_helpers.h"
 
-- 
2.25.1

Re: [PATCH selftests/bpf] selftests/bpf: remove duplicate include in cgroup_helpers.c.

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-10-20 17:50:10

Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko [off-list ref]:

On Tue, 19 Oct 2021 01:45:49 +0000 you wrote:
From: Ran Jianping <redacted>

unistd.h included in '/tools/testing/selftests/bpf/cgroup_helpers.c'
 is duplicated.It is also included on the 14 line.

Reported-by: Zeal Robot <redacted>
Signed-off-by: Ran Jianping <redacted>

[...]
Here is the summary with links:
  - [selftests/bpf] selftests/bpf: remove duplicate include in cgroup_helpers.c.
    https://git.kernel.org/bpf/bpf-next/c/b8f49dce799f

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help