[PATCH net-next] tcp: Remove inet_hashinfo2_free_mod()

Subsystems: networking [general], the rest

STALE418d

3 messages, 3 authors, 2025-06-19 · open the first message on its own page

[PATCH net-next] tcp: Remove inet_hashinfo2_free_mod()

From: Yue Haibing <hidden>
Date: 2025-06-17 12:48:33

DCCP was removed, inet_hashinfo2_free_mod() is unused now.

Signed-off-by: Yue Haibing <redacted>
---
 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

Re: [PATCH net-next] tcp: Remove inet_hashinfo2_free_mod()

From: Kuniyuki Iwashima <hidden>
Date: 2025-06-17 18:42:49

From: Yue Haibing <redacted>
Date: Tue, 17 Jun 2025 21:06:13 +0800
DCCP was removed, inet_hashinfo2_free_mod() is unused now.

Signed-off-by: Yue Haibing <redacted>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>

Re: [PATCH net-next] tcp: Remove inet_hashinfo2_free_mod()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-06-19 01:39:38

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:

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 <redacted>
---
 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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help