Commit 9325f070 authored by Li RongQing's avatar Li RongQing Committed by Pablo Neira Ayuso

netfilter: cleanup unused macro

TEMPLATE_NULLS_VAL is not used after commit 0838aa7f
("netfilter: fix netns dependencies with conntrack templates")

PFX is not used after commit 8bee4bad ("netfilter: xt
extensions: use pr_<level>")
Signed-off-by: default avatarLi RongQing <lirongqing@baidu.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 24d19826
...@@ -2633,7 +2633,6 @@ void nf_conntrack_init_end(void) ...@@ -2633,7 +2633,6 @@ void nf_conntrack_init_end(void)
*/ */
#define UNCONFIRMED_NULLS_VAL ((1<<30)+0) #define UNCONFIRMED_NULLS_VAL ((1<<30)+0)
#define DYING_NULLS_VAL ((1<<30)+1) #define DYING_NULLS_VAL ((1<<30)+1)
#define TEMPLATE_NULLS_VAL ((1<<30)+2)
int nf_conntrack_init_net(struct net *net) int nf_conntrack_init_net(struct net *net)
{ {
......
...@@ -21,8 +21,6 @@ MODULE_DESCRIPTION("Xtables: packet security mark modification"); ...@@ -21,8 +21,6 @@ MODULE_DESCRIPTION("Xtables: packet security mark modification");
MODULE_ALIAS("ipt_SECMARK"); MODULE_ALIAS("ipt_SECMARK");
MODULE_ALIAS("ip6t_SECMARK"); MODULE_ALIAS("ip6t_SECMARK");
#define PFX "SECMARK: "
static u8 mode; static u8 mode;
static unsigned int static unsigned int
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment