projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5389023
)
netfilter: nf_tables: remove double return statement
author
Aaron Conole
<aconole@bytheb.org>
Wed, 12 Apr 2017 20:12:28 +0000
(16:12 -0400)
committer
Pablo 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
patch
|
blob
|
history
diff --git
a/net/netfilter/nf_tables_api.c
b/net/netfilter/nf_tables_api.c
index
22e191a
..
91e9191
100644
(file)
--- 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)