[PATCH] netfilter: nft_payload: remove duplicate include in nft_payload.c

From: cgel . zte
Date: Thu Nov 04 2021 - 21:25:57 EST


From: Zhang Mingyu <zhang.mingyu@xxxxxxxxxx>

'linux/ip.h' included in 'net/netfilter/nft_payload.c' is duplicated.

Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
Signed-off-by: Zhang Mingyu <zhang.mingyu@xxxxxxxxxx>
---
net/netfilter/nft_payload.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/net/netfilter/nft_payload.c b/net/netfilter/nft_payload.c
index cbfe4e4a4ad7..bd689938a2e0 100644
--- a/net/netfilter/nft_payload.c
+++ b/net/netfilter/nft_payload.c
@@ -22,7 +22,6 @@
#include <linux/icmpv6.h>
#include <linux/ip.h>
#include <linux/ipv6.h>
-#include <linux/ip.h>
#include <net/sctp/checksum.h>

static bool nft_payload_rebuild_vlan_hdr(const struct sk_buff *skb, int mac_off,
--
2.25.1