Skip to contentSkip to conversation

selftests/bpf: remove duplicate include in cgroup_helpers.c.

PATCH Applied [email protected] 2 participants 2 messages Oct 19, 2021 – Oct 20, 2021

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

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

From: Ran Jianping <[email protected]>

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

---
 tools/testing/selftests/bpf/cgroup_helpers.c | 1 -
 1 file changed, 1 deletion(-)
tools/testing/selftests/bpf/cgroup_helpers.c +0 -1
index 8fcd44841bb2..9d59c3990ca8 100644
@@ -11,7 +11,6 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <ftw.h>
-#include <unistd.h>
 
 #include "cgroup_helpers.h"
 
Signature · 1 line
2.25.1
#1 lore raw
This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko <[email protected]>:

Hello:

This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko <[email protected]>:

Quoted 9 lines · On Tue, 19 Oct 2021 01:45:49 +0000 you wrote:

From: Ran Jianping <[email protected]>

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

[...]

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