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 22e191ad4468787306b2a6b5f65cdefd38423448..91e9191a43d83bb5375c8ac69255a538ae841d93 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)