diff options
author | Phil Sutter <phil@nwl.cc> | 2020-05-08 15:40:52 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2020-05-18 17:40:41 +0200 |
commit | 5906bcf10d0eda9d08c98a618ea7c8ade0018e0c (patch) | |
tree | d0192984a9b06b366468869b15f3dbaec0f33322 /iptables/nft-arp.c | |
parent | e7b6180fcf9061852a06f6d98e7618f44fd0eeec (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.c | 1 |
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, |