Skip to content

Commit e523452

Browse files
TaeheeYooummakynes
authored andcommitted
netfilter: nf_tables: remove unused variables
The comment and trace_loginfo are not used anymore. Signed-off-by: Taehee Yoo <[email protected]> Acked-by: Florian Westphal <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
1 parent d9adf22 commit e523452

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

net/netfilter/nf_tables_core.c

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,6 @@
2323
#include <net/netfilter/nf_tables.h>
2424
#include <net/netfilter/nf_log.h>
2525

26-
static const char *const comments[__NFT_TRACETYPE_MAX] = {
27-
[NFT_TRACETYPE_POLICY] = "policy",
28-
[NFT_TRACETYPE_RETURN] = "return",
29-
[NFT_TRACETYPE_RULE] = "rule",
30-
};
31-
32-
static const struct nf_loginfo trace_loginfo = {
33-
.type = NF_LOG_TYPE_LOG,
34-
.u = {
35-
.log = {
36-
.level = LOGLEVEL_WARNING,
37-
.logflags = NF_LOG_DEFAULT_MASK,
38-
},
39-
},
40-
};
41-
4226
static noinline void __nft_trace_packet(struct nft_traceinfo *info,
4327
const struct nft_chain *chain,
4428
enum nft_trace_types type)

0 commit comments

Comments
 (0)