selftests/bpf: Remove duplicated include in cgroup_helpers
authorWan Jiabing <wanjiabing@vivo.com>
Tue, 12 Oct 2021 02:32:30 +0000 (10:32 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 20 Oct 2021 17:45:09 +0000 (10:45 -0700)
Fix following checkincludes.pl warning:
./scripts/checkincludes.pl tools/testing/selftests/bpf/cgroup_helpers.c
tools/testing/selftests/bpf/cgroup_helpers.c: unistd.h is included more
than once.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20211012023231.19911-1-wanjiabing@vivo.com
tools/testing/selftests/bpf/cgroup_helpers.c

index 8fcd448..9d59c39 100644 (file)
@@ -11,7 +11,6 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <ftw.h>
-#include <unistd.h>
 
 #include "cgroup_helpers.h"