summaryrefslogtreecommitdiffstats
path: root/iptables/nft-bridge.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-bridge.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-bridge.c')
-rw-r--r--iptables/nft-bridge.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/iptables/nft-bridge.c b/iptables/nft-bridge.c
index 18f5e78f..dbf11eb5 100644
--- a/iptables/nft-bridge.c
+++ b/iptables/nft-bridge.c
@@ -932,7 +932,6 @@ struct nft_family_ops nft_family_ops_bridge = {
.print_header = nft_bridge_print_header,
.print_rule = nft_bridge_print_rule,
.save_rule = nft_bridge_save_rule,
- .save_counters = save_counters,
.save_chain = nft_bridge_save_chain,
.post_parse = NULL,
.rule_to_cs = nft_rule_to_ebtables_command_state,