[PATCH] netfilter: ipset: Fix duplicate included ip_set_hash_gen.h

From: Haowen Bai
Date: Tue Mar 22 2022 - 23:25:03 EST


Clean up the following includecheck warning:

net/netfilter/ipset/ip_set_hash_ipportip.c: ip_set_hash_gen.h
is included more than once.

No functional change.

Signed-off-by: Haowen Bai <baihaowen@xxxxxxxxx>
---
net/netfilter/ipset/ip_set_hash_ipportip.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/net/netfilter/ipset/ip_set_hash_ipportip.c b/net/netfilter/ipset/ip_set_hash_ipportip.c
index 334fb1a..e432d86 100644
--- a/net/netfilter/ipset/ip_set_hash_ipportip.c
+++ b/net/netfilter/ipset/ip_set_hash_ipportip.c
@@ -253,7 +253,6 @@ hash_ipportip6_data_next(struct hash_ipportip6_elem *next,
#define MTYPE hash_ipportip6
#define HOST_MASK 128
#define IP_SET_EMIT_CREATE
-#include "ip_set_hash_gen.h"

static int
hash_ipportip6_kadt(struct ip_set *set, const struct sk_buff *skb,
--
2.7.4