]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
selftest/bpf/benchs: Remove duplicate sys/types.h header
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Tue, 15 Apr 2025 06:14:59 +0000 (14:14 +0800)
committerMartin KaFai Lau <martin.lau@kernel.org>
Tue, 15 Apr 2025 18:03:57 +0000 (11:03 -0700)
./tools/testing/selftests/bpf/benchs/bench_sockmap.c: sys/types.h is included more than once.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=20436
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20250415061459.11644-1-jiapeng.chong@linux.alibaba.com
tools/testing/selftests/bpf/benchs/bench_sockmap.c

index 54f4e7c03cd22a2974cd93dc8e14f67ad0dc56a2..8ebf563a67a2b5c649d90f0d6595909b3bba4a67 100644 (file)
@@ -3,7 +3,6 @@
 #include <error.h>
 #include <sys/types.h>
 #include <sys/socket.h>
-#include <sys/types.h>
 #include <netinet/in.h>
 #include <sys/sendfile.h>
 #include <arpa/inet.h>