aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/core.c
diff options
context:
space:
mode:
authorHoang Huu Le <[email protected]>2020-10-28 03:27:12 +0000
committerJakub Kicinski <[email protected]>2020-10-30 20:11:47 +0000
commit09b5678c778f389d911a8ca80c42ca4dcd349043 (patch)
tree046e6934d94451cf273608c1fa4c9fbbe0a1054f /net/tipc/core.c
parentnet: ipv6: calipso: Fix kerneldoc warnings (diff)
downloadkernel-09b5678c778f389d911a8ca80c42ca4dcd349043.tar.gz
kernel-09b5678c778f389d911a8ca80c42ca4dcd349043.zip
tipc: remove dead code in tipc_net and relatives
dist_queue is no longer used since commit 37922ea4a310 ("tipc: permit overlapping service ranges in name table") Acked-by: Jon Maloy <[email protected]> Acked-by: Ying Xue <[email protected]> Signed-off-by: Hoang Huu Le <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/tipc/core.c')
-rw-r--r--net/tipc/core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/tipc/core.c b/net/tipc/core.c
index c2ff42900b53..5cc1f0307215 100644
--- a/net/tipc/core.c
+++ b/net/tipc/core.c
@@ -81,8 +81,6 @@ static int __net_init tipc_init_net(struct net *net)
if (err)
goto out_nametbl;
- INIT_LIST_HEAD(&tn->dist_queue);
-
err = tipc_bcast_init(net);
if (err)
goto out_bclink;