From 5906bcf10d0eda9d08c98a618ea7c8ade0018e0c Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Fri, 8 May 2020 15:40:52 +0200 Subject: 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 --- iptables/nft-ipv6.c | 1 - 1 file changed, 1 deletion(-) (limited to 'iptables/nft-ipv6.c') diff --git a/iptables/nft-ipv6.c b/iptables/nft-ipv6.c index 84bcf1c5..4008b7ea 100644 --- a/iptables/nft-ipv6.c +++ b/iptables/nft-ipv6.c @@ -402,7 +402,6 @@ struct nft_family_ops nft_family_ops_ipv6 = { .print_header = print_header, .print_rule = nft_ipv6_print_rule, .save_rule = nft_ipv6_save_rule, - .save_counters = save_counters, .save_chain = nft_ipv46_save_chain, .proto_parse = nft_ipv6_proto_parse, .post_parse = nft_ipv6_post_parse, -- cgit v1.2.3