From ee85b1bc1bb9f91daf2004823dfa204dbc52f52a Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 9 Jun 2014 18:23:05 +0200 Subject: iptables: nft: remove unused code Remove code to set table in dormant state, this is not required from the iptables over nft compatibility layer. Signed-off-by: Pablo Neira Ayuso --- iptables/nft.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'iptables/nft.h') diff --git a/iptables/nft.h b/iptables/nft.h index ddc52012..1e78eddb 100644 --- a/iptables/nft.h +++ b/iptables/nft.h @@ -53,13 +53,10 @@ void nft_fini(struct nft_handle *h); struct nft_table; struct nft_chain_list; -int nft_table_builtin_add(struct nft_handle *h, struct builtin_table *_t, bool dormant); struct builtin_table *nft_table_builtin_find(struct nft_handle *h, const char *table); int nft_table_add(struct nft_handle *h, const struct nft_table *t); int nft_for_each_table(struct nft_handle *h, int (*func)(struct nft_handle *h, const char *tablename, bool counters), bool counters); bool nft_table_find(struct nft_handle *h, const char *tablename); -int nft_table_set_dormant(struct nft_handle *h, const char *table); -int nft_table_wake_dormant(struct nft_handle *h, const char *table); int nft_table_purge_chains(struct nft_handle *h, const char *table, struct nft_chain_list *list); /* -- cgit v1.2.3