diff mbox series

net/tipc: Remove unused struct distr_queue_item

Message ID 20220928085636.71749-1-yuancan@huawei.com (mailing list archive)
State Accepted
Commit 8af535b6b14c57b3c1ba7eaf64919f4b4ef0f260
Delegated to: Netdev Maintainers
Headers show
Series net/tipc: Remove unused struct distr_queue_item | expand

Checks

Context Check Description
netdev/tree_selection success Guessed tree name to be net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/subject_prefix warning Target tree name not specified in the subject
netdev/cover_letter success Single patches do not need cover letters
netdev/patch_count success Link
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 0 this patch: 0
netdev/cc_maintainers success CCed 8 of 8 maintainers
netdev/build_clang success Errors and warnings before: 0 this patch: 0
netdev/module_param success Was 0 now: 0
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 0 this patch: 0
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 14 lines checked
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Yuan Can Sept. 28, 2022, 8:56 a.m. UTC
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>
---
 net/tipc/name_distr.c | 8 --------
 1 file changed, 8 deletions(-)

Comments

Jon Maloy Sept. 28, 2022, 1:17 p.m. UTC | #1
On 9/28/22 04:56, Yuan Can 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.
>
> Signed-off-by: Yuan Can <yuancan@huawei.com>
> ---
>   net/tipc/name_distr.c | 8 --------
>   1 file changed, 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
Acked-by: Jon Maloy <jmaloy@redhat.com>
patchwork-bot+netdevbpf@kernel.org Sept. 30, 2022, 2:21 a.m. UTC | #2
Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

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.
> 
> Signed-off-by: Yuan Can <yuancan@huawei.com>
> ---
>  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!
diff mbox series

Patch

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