summaryrefslogtreecommitdiff
path: root/net/tipc/name_distr.c
diff options
context:
space:
mode:
authorYuan Can <yuancan@huawei.com>2022-09-28 11:56:36 +0300
committerJakub Kicinski <kuba@kernel.org>2022-09-30 04:48:32 +0300
commit8af535b6b14c57b3c1ba7eaf64919f4b4ef0f260 (patch)
treec63e31ab8f7e3529ce7ac8e35d276bba2a634078 /net/tipc/name_distr.c
parentdbae2b062824fc2d35ae2d5df2f500626c758e80 (diff)
downloadlinux-8af535b6b14c57b3c1ba7eaf64919f4b4ef0f260.tar.xz
net/tipc: Remove unused struct distr_queue_item
After commit 09b5678c778f("tipc: remove dead code in tipc_net and relatives"), struct distr_queue_item is not used any more and can be removed as well. Signed-off-by: Yuan Can <yuancan@huawei.com> Acked-by: Jon Maloy <jmaloy@redhat.com> Link: https://lore.kernel.org/r/20220928085636.71749-1-yuancan@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/tipc/name_distr.c')
-rw-r--r--net/tipc/name_distr.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/net/tipc/name_distr.c b/net/tipc/name_distr.c
index 8267b751a526..190b49c5cbc3 100644
--- a/net/tipc/name_distr.c
+++ b/net/tipc/name_distr.c
@@ -41,14 +41,6 @@
int sysctl_tipc_named_timeout __read_mostly = 2000;
-struct distr_queue_item {
- struct distr_item i;
- u32 dtype;
- u32 node;
- unsigned long expires;
- struct list_head next;
-};
-
/**
* publ_to_item - add publication info to a publication message
* @p: publication info