netfilter: nf_ct_expect: nf_ct_expect_insert() returns void
authorGao Feng <fgao@ikuai8.com>
Thu, 9 Feb 2017 13:40:38 +0000 (21:40 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 12 Feb 2017 13:44:08 +0000 (14:44 +0100)
commit4dee62b1b9b43c9bbf49c93cd114e1bf1334fb6a
treeb894c7c04e7e2aed6f147466b9eec9545708396b
parenta96e66e702bc615f5927b15c739c91d5098dac59
netfilter: nf_ct_expect: nf_ct_expect_insert() returns void

Because nf_ct_expect_insert() always succeeds now, its return value can
be just void instead of int. And remove code that checks for its return
value.

Signed-off-by: Gao Feng <fgao@ikuai8.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_expect.c