mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next] tcp: Remove inet_hashinfo2_free_mod()
@ 2025-06-17 13:06 Yue Haibing
  2025-06-17 18:42 ` Kuniyuki Iwashima
  2025-06-19  1:40 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Yue Haibing @ 2025-06-17 13:06 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni, horms; +Cc: netdev, linux-kernel, yuehaibing

DCCP was removed, inet_hashinfo2_free_mod() is unused now.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 include/net/inet_hashtables.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/include/net/inet_hashtables.h b/include/net/inet_hashtables.h
index 4564b5d348b1..ae09e91398a5 100644
--- a/include/net/inet_hashtables.h
+++ b/include/net/inet_hashtables.h
@@ -202,12 +202,6 @@ static inline spinlock_t *inet_ehash_lockp(
 
 int inet_ehash_locks_alloc(struct inet_hashinfo *hashinfo);
 
-static inline void inet_hashinfo2_free_mod(struct inet_hashinfo *h)
-{
-	kfree(h->lhash2);
-	h->lhash2 = NULL;
-}
-
 static inline void inet_ehash_locks_free(struct inet_hashinfo *hashinfo)
 {
 	kvfree(hashinfo->ehash_locks);
-- 
2.34.1


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

* Re: [PATCH net-next] tcp: Remove inet_hashinfo2_free_mod()
  2025-06-17 13:06 [PATCH net-next] tcp: Remove inet_hashinfo2_free_mod() Yue Haibing
@ 2025-06-17 18:42 ` Kuniyuki Iwashima
  2025-06-19  1:40 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Kuniyuki Iwashima @ 2025-06-17 18:42 UTC (permalink / raw)
  To: yuehaibing
  Cc: davem, edumazet, horms, kuba, linux-kernel, netdev, pabeni,
	Kuniyuki Iwashima

From: Yue Haibing <yuehaibing@huawei.com>
Date: Tue, 17 Jun 2025 21:06:13 +0800
> DCCP was removed, inet_hashinfo2_free_mod() is unused now.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>

Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>


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

* Re: [PATCH net-next] tcp: Remove inet_hashinfo2_free_mod()
  2025-06-17 13:06 [PATCH net-next] tcp: Remove inet_hashinfo2_free_mod() Yue Haibing
  2025-06-17 18:42 ` Kuniyuki Iwashima
@ 2025-06-19  1:40 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-06-19  1:40 UTC (permalink / raw)
  To: Yue Haibing; +Cc: davem, edumazet, kuba, pabeni, horms, netdev, linux-kernel

Hello:

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

On Tue, 17 Jun 2025 21:06:13 +0800 you wrote:
> DCCP was removed, inet_hashinfo2_free_mod() is unused now.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  include/net/inet_hashtables.h | 6 ------
>  1 file changed, 6 deletions(-)

Here is the summary with links:
  - [net-next] tcp: Remove inet_hashinfo2_free_mod()
    https://git.kernel.org/netdev/net-next/c/a33556940b57

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2025-06-19  1:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-17 13:06 [PATCH net-next] tcp: Remove inet_hashinfo2_free_mod() Yue Haibing
2025-06-17 18:42 ` Kuniyuki Iwashima
2025-06-19  1:40 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®