Skip to contentSkip to conversation

net/tipc: Remove unused struct distr_queue_item

PATCH Applied Yuan Can 3 participants 3 messages Sep 28, 2022 – Sep 30, 2022

Subsystems (3)
lore
Share & tools
lore

Yuan Can

author
#0 lore raw

PATCH 1/1 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.

---
 net/tipc/name_distr.c | 8 --------
 1 file changed, 8 deletions(-)
net/tipc/name_distr.c +0 -8
index 8267b751a526..190b49c5cbc3 100644
@@ -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
Signature · 1 line
2.17.1
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 17 lines · Yuan Can

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.

---
  net/tipc/name_distr.c | 8 --------
  1 file changed, 8 deletions(-)
net/tipc/name_distr.c +0 -1
index 8267b751a526..190b49c5cbc3 100644
@@ -41,14 +41,6 @@
 
  int sysctl_tipc_named_timeout __read_mostly = 2000;
 
-struct distr_queue_item {

net/tipc/name_distr.c line 46

Quoted 10 lines
net/tipc/name_distr.c +0 -7
-	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
#2 lore raw
In reply to Yuan Can
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Quoted 7 lines · On Wed, 28 Sep 2022 08:56:36 +0000 you wrote:

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.

---
 net/tipc/name_distr.c | 8 --------
 1 file changed, 8 deletions(-)

Here is the summary with links:
- net/tipc: Remove unused struct distr_queue_item

    https://git.kernel.org/netdev/net-next/c/8af535b6b14c

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html