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-ipv4.c | 1 - 1 file changed, 1 deletion(-) (limited to 'iptables/nft-ipv4.c') diff --git a/iptables/nft-ipv4.c b/iptables/nft-ipv4.c index ba789da0..afdecf97 100644 --- a/iptables/nft-ipv4.c +++ b/iptables/nft-ipv4.c @@ -450,7 +450,6 @@ struct nft_family_ops nft_family_ops_ipv4 = { .print_header = print_header, .print_rule = nft_ipv4_print_rule, .save_rule = nft_ipv4_save_rule, - .save_counters = save_counters, .save_chain = nft_ipv46_save_chain, .proto_parse = nft_ipv4_proto_parse, .post_parse = nft_ipv4_post_parse, -- cgit v1.2.3