Messages in this thread Patch in this message | | | From | cgel.zte@gmail ... | Subject | [PATCH selftests/bpf] selftests/bpf: remove duplicate include in cgroup_helpers.c. | Date | Tue, 19 Oct 2021 01:45:49 +0000 |
| |
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(-)
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
| |