Skip to content

Commit a335569

Browse files
Yue Haibingkuba-moo
authored andcommitted
tcp: Remove inet_hashinfo2_free_mod()
DCCP was removed, inet_hashinfo2_free_mod() is unused now. Signed-off-by: Yue Haibing <[email protected]> Reviewed-by: Kuniyuki Iwashima <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent d8155c1 commit a335569

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

include/net/inet_hashtables.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -202,12 +202,6 @@ static inline spinlock_t *inet_ehash_lockp(
202202

203203
int inet_ehash_locks_alloc(struct inet_hashinfo *hashinfo);
204204

205-
static inline void inet_hashinfo2_free_mod(struct inet_hashinfo *h)
206-
{
207-
kfree(h->lhash2);
208-
h->lhash2 = NULL;
209-
}
210-
211205
static inline void inet_ehash_locks_free(struct inet_hashinfo *hashinfo)
212206
{
213207
kvfree(hashinfo->ehash_locks);

0 commit comments

Comments
 (0)