summaryrefslogtreecommitdiffstats
path: root/iptables/nft-arp.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2020-05-08 15:40:52 +0200
committerPhil Sutter <phil@nwl.cc>2020-05-18 17:40:41 +0200
commit5906bcf10d0eda9d08c98a618ea7c8ade0018e0c (patch)
treed0192984a9b06b366468869b15f3dbaec0f33322 /iptables/nft-arp.c
parente7b6180fcf9061852a06f6d98e7618f44fd0eeec (diff)
nft: Drop save_counters callback from family_ops
All families use the same callback function, just fold it into the sole place it's called. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/nft-arp.c')
-rw-r--r--iptables/nft-arp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/iptables/nft-arp.c b/iptables/nft-arp.c
index 23ab73cb..67f4529d 100644
--- a/iptables/nft-arp.c
+++ b/iptables/nft-arp.c
@@ -652,7 +652,6 @@ struct nft_family_ops nft_family_ops_arp = {
.print_header = nft_arp_print_header,
.print_rule = nft_arp_print_rule,
.save_rule = nft_arp_save_rule,
- .save_counters = save_counters,
.save_chain = nft_arp_save_chain,
.post_parse = NULL,
.rule_to_cs = nft_rule_to_iptables_command_state,