selftests/bpf: Remove duplicate include header in xdp_hw_metadata
authorYe Xingchen <ye.xingchen@zte.com.cn>
Tue, 31 Jan 2023 06:40:51 +0000 (14:40 +0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 2 Feb 2023 10:52:48 +0000 (11:52 +0100)
The linux/net_tstamp.h is included more than once, thus clean it up.

Signed-off-by: Ye Xingchen <ye.xingchen@zte.com.cn>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/202301311440516312161@zte.com.cn
tools/testing/selftests/bpf/xdp_hw_metadata.c

index 2a66bd3..1c8acb6 100644 (file)
@@ -24,7 +24,6 @@
 #include <linux/net_tstamp.h>
 #include <linux/udp.h>
 #include <linux/sockios.h>
-#include <linux/net_tstamp.h>
 #include <sys/mman.h>
 #include <net/if.h>
 #include <poll.h>