diff mbox series

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

Message ID 20211019014549.970830-1-ran.jianping@zte.com.cn (mailing list archive)
State Accepted
Commit b8f49dce799f0c177ee6a56b3fd67e7fdc6e68c2
Headers show
Series [selftests/bpf] selftests/bpf: remove duplicate include in cgroup_helpers.c. | expand

Commit Message

CGEL Oct. 19, 2021, 1:45 a.m. UTC
From: Ran Jianping <ran.jianping@zte.com.cn>

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 <zealci@zte.com.cn>
Signed-off-by: Ran Jianping <ran.jianping@zte.com.cn>
---
 tools/testing/selftests/bpf/cgroup_helpers.c | 1 -
 1 file changed, 1 deletion(-)

Comments

patchwork-bot+netdevbpf@kernel.org Oct. 20, 2021, 5:50 p.m. UTC | #1
Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@kernel.org>:

On Tue, 19 Oct 2021 01:45:49 +0000 you wrote:
> From: Ran Jianping <ran.jianping@zte.com.cn>
> 
> 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 <zealci@zte.com.cn>
> Signed-off-by: Ran Jianping <ran.jianping@zte.com.cn>
> 
> [...]

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
diff mbox series

Patch

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"