All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] netfilter: conntrack: remove the repeated declaration
@ 2021-05-29  6:49 Shaokun Zhang
  2021-05-29 14:12 ` Florian Westphal
  2021-06-02 10:40 ` Pablo Neira Ayuso
  0 siblings, 2 replies; 4+ messages in thread
From: Shaokun Zhang @ 2021-05-29  6:49 UTC (permalink / raw)
  To: netfilter-devel, coreteam
  Cc: Shaokun Zhang, Pablo Neira Ayuso, Jozsef Kadlecsik, Florian Westphal

Variable 'nf_conntrack_net_id' is declared twice, so remove the
repeated declaration.

Cc: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: Jozsef Kadlecsik <kadlec@netfilter.org>
Cc: Florian Westphal <fw@strlen.de>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
---
 net/netfilter/nf_conntrack_core.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/net/netfilter/nf_conntrack_core.c b/net/netfilter/nf_conntrack_core.c
index e0befcf8113a..757520725cd4 100644
--- a/net/netfilter/nf_conntrack_core.c
+++ b/net/netfilter/nf_conntrack_core.c
@@ -87,8 +87,6 @@ static __read_mostly bool nf_conntrack_locks_all;
 
 static struct conntrack_gc_work conntrack_gc_work;
 
-extern unsigned int nf_conntrack_net_id;
-
 void nf_conntrack_lock(spinlock_t *lock) __acquires(lock)
 {
 	/* 1) Acquire the lock */
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-03  0:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-29  6:49 [PATCH] netfilter: conntrack: remove the repeated declaration Shaokun Zhang
2021-05-29 14:12 ` Florian Westphal
2021-06-02 10:40 ` Pablo Neira Ayuso
2021-06-03  0:35   ` Shaokun Zhang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.