]> git.baikalelectronics.ru Git - kernel.git/commit
net: inet: Remove count from inet_listen_hashbucket
authorMartin KaFai Lau <kafai@fb.com>
Thu, 12 May 2022 00:05:52 +0000 (17:05 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 12 May 2022 23:52:17 +0000 (16:52 -0700)
commit1b2c053c57504dcb63bfef53ca859cf53c9e0749
tree77a165fe50faa87bcd6a241212618557ae3b2c46
parent45a35b5844eef2b74c604a7bf4a3e530979db79a
net: inet: Remove count from inet_listen_hashbucket

After commit 3c32c26ce3f2 ("net: tcp6: prefer listeners bound to an address")
and commit 3ce8b1280ab2 ("net: tcp: prefer listeners bound to an address"),
the count is no longer used.  This patch removes it.

Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/inet_hashtables.h
net/ipv4/inet_hashtables.c