Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1622514 > unrolled thread

[PATCH nf-next] nf_tables: remove double return statement

Started byAaron Conole <aconole@bytheb.org>
First post2017-04-12 22:20 +0200
Last post2017-04-14 01:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH nf-next] nf_tables: remove double return statement Aaron Conole <aconole@bytheb.org> - 2017-04-12 22:20 +0200
    Re: [PATCH nf-next] nf_tables: remove double return statement Pablo Neira Ayuso <pablo@netfilter.org> - 2017-04-14 01:30 +0200

#1622514 — [PATCH nf-next] nf_tables: remove double return statement

FromAaron Conole <aconole@bytheb.org>
Date2017-04-12 22:20 +0200
Subject[PATCH nf-next] nf_tables: remove double return statement
Message-ID<tvwUa-LT-21@gated-at.bofh.it>
Signed-off-by: Aaron Conole <aconole@bytheb.org>
---
 net/netfilter/nf_tables_api.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/net/netfilter/nf_tables_api.c b/net/netfilter/nf_tables_api.c
index 2d822d2..1452fb7 100644
--- a/net/netfilter/nf_tables_api.c
+++ b/net/netfilter/nf_tables_api.c
@@ -4435,8 +4435,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)
-- 
2.9.3

[toc] | [next] | [standalone]


#1623419

FromPablo Neira Ayuso <pablo@netfilter.org>
Date2017-04-14 01:30 +0200
Message-ID<tvWlA-1Bt-9@gated-at.bofh.it>
In reply to#1622514
Applied, thanks.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web