aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/netfilter/nf_tables_api.c
diff options
context:
space:
mode:
authorAaron Conole <aconole@bytheb.org>2017-04-12 16:12:28 -0400
committerPablo Neira Ayuso <pablo@netfilter.org>2017-04-14 01:54:19 +0200
commit79250568276ff648f3fc0afc6cc47b677d108e16 (patch)
tree6cc6d937f88330ae58bdcc077c6d6a168b1613b5 /net/netfilter/nf_tables_api.c
parentnetfilter: nat: remove rcu_read_lock in __nf_nat_decode_session. (diff)
downloadwireguard-linux-79250568276ff648f3fc0afc6cc47b677d108e16.tar.xz
wireguard-linux-79250568276ff648f3fc0afc6cc47b677d108e16.zip
netfilter: nf_tables: remove double return statement
Signed-off-by: Aaron Conole <aconole@bytheb.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nf_tables_api.c')
-rw-r--r--net/netfilter/nf_tables_api.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/netfilter/nf_tables_api.c b/net/netfilter/nf_tables_api.c
index 22e191ad4468..91e9191a43d8 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)