netfilter: cttimeout: remove set but not used variable 'l3num'
authorYueHaibing <yuehaibing@huawei.com>
Wed, 10 Oct 2018 02:14:12 +0000 (02:14 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 16 Oct 2018 08:01:48 +0000 (10:01 +0200)
commitea9cf2a55a7bb84ba862a0fc13044a4311c9bbfe
tree2cebbbeb609a800fe8bae0a031e1718221b9d12b
parent4b87dd54be21ad611a1c740f9df0c4376d496e09
netfilter: cttimeout: remove set but not used variable 'l3num'

Fixes gcc '-Wunused-but-set-variable' warning:

net/netfilter/nfnetlink_cttimeout.c: In function 'cttimeout_default_set':
net/netfilter/nfnetlink_cttimeout.c:353:8: warning:
 variable 'l3num' set but not used [-Wunused-but-set-variable]

It not used any more after
commit dd2934a95701 ("netfilter: conntrack: remove l3->l4 mapping information")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nfnetlink_cttimeout.c