Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Yue Haibing and committed by
Jakub Kicinski
a3355694 d8155c1d

-6
-6
include/net/inet_hashtables.h
··· 202 202 203 203 int inet_ehash_locks_alloc(struct inet_hashinfo *hashinfo); 204 204 205 - static inline void inet_hashinfo2_free_mod(struct inet_hashinfo *h) 206 - { 207 - kfree(h->lhash2); 208 - h->lhash2 = NULL; 209 - } 210 - 211 205 static inline void inet_ehash_locks_free(struct inet_hashinfo *hashinfo) 212 206 { 213 207 kvfree(hashinfo->ehash_locks);