diff options
author | Yue Haibing <yuehaibing@huawei.com> | 2025-06-17 21:06:13 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-06-18 18:29:58 -0700 |
commit | a33556940b5727191613104bced53c93f4a7a3aa (patch) | |
tree | 6ba8193522bc61dc11ab4389d176d12b20dcc169 | |
parent | d8155c1df5c8b717052567b188455d41fa7a8908 (diff) |
tcp: Remove inet_hashinfo2_free_mod()
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>
Link: https://patch.msgid.link/20250617130613.498659-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r-- | include/net/inet_hashtables.h | 6 |
1 files changed, 0 insertions, 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); |