From e127d223d01aaa0886c7f279110ac36651b9a057 Mon Sep 17 00:00:00 2001 From: Tomasz Bursztyka Date: Tue, 16 Jul 2013 22:07:22 +0200 Subject: xtables: Remove useless parameter to nft_chain_list_find Signed-off-by: Tomasz Bursztyka Signed-off-by: Pablo Neira Ayuso --- iptables/nft.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'iptables/nft.c') diff --git a/iptables/nft.c b/iptables/nft.c index 50341148..87db9be5 100644 --- a/iptables/nft.c +++ b/iptables/nft.c @@ -1434,7 +1434,7 @@ err: } struct nft_chain * -nft_chain_list_find(struct nft_handle *h, struct nft_chain_list *list, +nft_chain_list_find(struct nft_chain_list *list, const char *table, const char *chain) { struct nft_chain_list_iter *iter; @@ -1475,7 +1475,7 @@ nft_chain_find(struct nft_handle *h, const char *table, const char *chain) if (list == NULL) return NULL; - return nft_chain_list_find(h, list, table, chain); + return nft_chain_list_find(list, table, chain); } int nft_chain_user_rename(struct nft_handle *h,const char *chain, -- cgit v1.2.3