Skip to contentSkip to conversation

netfilter: remove unused macro DUMP_INIT to tame gcc

PATCH New Alex Shi 1 participant 1 message Nov 6, 2020

Subsystems (3)
lore
Share & tools
lore

Alex Shi

author
#0 lore raw

PATCH 1/1 netfilter: remove unused macro DUMP_INIT to tame gcc

net/netfilter/ipset/ip_set_core.c:1416:0: warning: macro "DUMP_INIT" is not used [-Wunused-macros]

This macro unused and cause above warning. So let's remove it.

Cc Pablo Neira Ayuso <[email protected]>
Cc Jozsef Kadlecsik <[email protected]>
Cc Florian Westphal <[email protected]>
Cc "David S. Miller" <[email protected]>
---
 net/netfilter/ipset/ip_set_core.c | 1 -
 1 file changed, 1 deletion(-)
net/netfilter/ipset/ip_set_core.c +0 -1
index c7eaa3776238..69c10878bf97 100644
@@ -1420,7 +1420,6 @@ static int ip_set_swap(struct net *net, struct sock *ctnl, struct sk_buff *skb,
 
 /* List/save set data */
 
-#define DUMP_INIT	0
 #define DUMP_ALL	1
 #define DUMP_ONE	2
 #define DUMP_LAST	3
Signature · 1 line
1.8.3.1