selftests/bpf: remove duplicate include header in files

Message ID 202301311440516312161@zte.com.cn
State New
Headers
Series selftests/bpf: remove duplicate include header in files |

Commit Message

ye.xingchen@zte.com.cn Jan. 31, 2023, 6:40 a.m. UTC
  From: ye xingchen <ye.xingchen@zte.com.cn>

linux/net_tstamp.h is included more than once.

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
---
 tools/testing/selftests/bpf/xdp_hw_metadata.c | 1 -
 1 file changed, 1 deletion(-)
  

Comments

patchwork-bot+netdevbpf@kernel.org Feb. 2, 2023, 11:10 a.m. UTC | #1
Hello:

This patch was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@iogearbox.net>:

On Tue, 31 Jan 2023 14:40:51 +0800 (CST) you wrote:
> From: ye xingchen <ye.xingchen@zte.com.cn>
> 
> linux/net_tstamp.h is included more than once.
> 
> Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
> ---
>  tools/testing/selftests/bpf/xdp_hw_metadata.c | 1 -
>  1 file changed, 1 deletion(-)

Here is the summary with links:
  - selftests/bpf: remove duplicate include header in files
    https://git.kernel.org/bpf/bpf-next/c/4bc32df7a9c3

You are awesome, thank you!
  

Patch

diff --git a/tools/testing/selftests/bpf/xdp_hw_metadata.c b/tools/testing/selftests/bpf/xdp_hw_metadata.c
index 3823b1c499cc..184046021114 100644
--- a/tools/testing/selftests/bpf/xdp_hw_metadata.c
+++ b/tools/testing/selftests/bpf/xdp_hw_metadata.c
@@ -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>