Skip to content

Commit

Permalink
selftest/bpf/benchs: Remove duplicate sys/types.h header
Browse files Browse the repository at this point in the history
./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
  • Loading branch information
Jiapeng Chong authored and Martin KaFai Lau committed Apr 15, 2025
1 parent a27a97f commit 7d0b43b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tools/testing/selftests/bpf/benchs/bench_sockmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 7d0b43b

Please sign in to comment.