netfilter: nf_tables: remove double return statement
authorAaron Conole <aconole@bytheb.org>
Wed, 12 Apr 2017 20:12:28 +0000 (16:12 -0400)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 13 Apr 2017 23:54:19 +0000 (01:54 +0200)
Signed-off-by: Aaron Conole <aconole@bytheb.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c

index 22e191a..91e9191 100644 (file)
@@ -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)