netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] netfilter: ipset: Fix duplicate included ip_set_hash_gen.h
@ 2022-03-23  3:24 Haowen Bai
  2022-03-23  5:11 ` Jakub Kicinski
  2022-03-23  9:54 ` kernel test robot
  0 siblings, 2 replies; 4+ messages in thread
From: Haowen Bai @ 2022-03-23  3:24 UTC (permalink / raw)
  To: pablo, kadlec, fw, davem
  Cc: netfilter-devel, coreteam, netdev, linux-kernel, Haowen Bai

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@meizu.com>
---
 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-23  9:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-23  3:24 [PATCH] netfilter: ipset: Fix duplicate included ip_set_hash_gen.h Haowen Bai
2022-03-23  5:11 ` Jakub Kicinski
2022-03-23  6:21   ` 答复: " 白浩文
2022-03-23  9:54 ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).