From: Aaron Conole Date: Wed, 12 Apr 2017 20:12:28 +0000 (-0400) Subject: netfilter: nf_tables: remove double return statement X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=79250568276ff648f3fc0afc6cc47b677d108e16;p=linux.git netfilter: nf_tables: remove double return statement Signed-off-by: Aaron Conole Signed-off-by: Pablo Neira Ayuso --- diff --git a/net/netfilter/nf_tables_api.c b/net/netfilter/nf_tables_api.c index 22e191ad44687..91e9191a43d83 100644 --- a/net/netfilter/nf_tables_api.c +++ b/net/netfilter/nf_tables_api.c @@ -4433,8 +4433,6 @@ static int nf_tables_getobj(struct net *net, struct sock *nlsk, err: kfree_skb(skb2); return err; - - return 0; } static void nft_obj_destroy(struct nft_object *obj)