netfilter: nf_conntrack: simplify __nf_ct_try_assign_helper() return logic
authorPablo Neira <pablo@netfilter.org>
Fri, 9 Sep 2016 12:01:26 +0000 (14:01 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 12 Sep 2016 17:54:34 +0000 (19:54 +0200)
commitcf71c03edf10076f05a0b678fc9c8f8e6c6e24e4
tree200cff9b0554affd3eb5f0dc63a5508151f9c705
parent71212c9b04eba76faa4dca26ccd1552d6bb300c1
netfilter: nf_conntrack: simplify __nf_ct_try_assign_helper() return logic

Instead of several goto's just to return the result, simply return it.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_helper.c