diff options
author | Taehee Yoo <ap420073@gmail.com> | 2018-05-29 01:15:27 +0900 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-05-29 14:50:29 +0200 |
commit | e523452ac0e046d38fcfb7c16748ab8090bf98cd (patch) | |
tree | 024dd599dae54560601f9ccab583440c4ebc9494 | |
parent | d9adf22a2918832ac94335fddf1950b12543d0b5 (diff) | |
download | linux-e523452ac0e046d38fcfb7c16748ab8090bf98cd.tar.gz linux-e523452ac0e046d38fcfb7c16748ab8090bf98cd.tar.bz2 linux-e523452ac0e046d38fcfb7c16748ab8090bf98cd.zip |
netfilter: nf_tables: remove unused variables
The comment and trace_loginfo are not used anymore.
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r-- | net/netfilter/nf_tables_core.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/net/netfilter/nf_tables_core.c b/net/netfilter/nf_tables_core.c index 0548cd50ec26..47cf667b15ca 100644 --- a/net/netfilter/nf_tables_core.c +++ b/net/netfilter/nf_tables_core.c @@ -23,22 +23,6 @@ #include <net/netfilter/nf_tables.h> #include <net/netfilter/nf_log.h> -static const char *const comments[__NFT_TRACETYPE_MAX] = { - [NFT_TRACETYPE_POLICY] = "policy", - [NFT_TRACETYPE_RETURN] = "return", - [NFT_TRACETYPE_RULE] = "rule", -}; - -static const struct nf_loginfo trace_loginfo = { - .type = NF_LOG_TYPE_LOG, - .u = { - .log = { - .level = LOGLEVEL_WARNING, - .logflags = NF_LOG_DEFAULT_MASK, - }, - }, -}; - static noinline void __nft_trace_packet(struct nft_traceinfo *info, const struct nft_chain *chain, enum nft_trace_types type) |