Skip to content

Commit

Permalink
netfilter: cleanup unused macro
Browse files Browse the repository at this point in the history
TEMPLATE_NULLS_VAL is not used after commit 0838aa7
("netfilter: fix netns dependencies with conntrack templates")

PFX is not used after commit 8bee4ba ("netfilter: xt
extensions: use pr_<level>")

Signed-off-by: Li RongQing <lirongqing@baidu.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
  • Loading branch information
lrq-max authored and ummakynes committed Mar 15, 2020
1 parent 24d1982 commit 9325f07
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion net/netfilter/nf_conntrack_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2633,7 +2633,6 @@ void nf_conntrack_init_end(void)
*/
#define UNCONFIRMED_NULLS_VAL ((1<<30)+0)
#define DYING_NULLS_VAL ((1<<30)+1)
#define TEMPLATE_NULLS_VAL ((1<<30)+2)

int nf_conntrack_init_net(struct net *net)
{
Expand Down
2 changes: 0 additions & 2 deletions net/netfilter/xt_SECMARK.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ MODULE_DESCRIPTION("Xtables: packet security mark modification");
MODULE_ALIAS("ipt_SECMARK");
MODULE_ALIAS("ip6t_SECMARK");

#define PFX "SECMARK: "

static u8 mode;

static unsigned int
Expand Down

0 comments on commit 9325f07

Please sign in to comment.