]> 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)
commit5875cffb8b8216557d05cba588367454103710e4
tree77a165fe50faa87bcd6a241212618557ae3b2c46
parent036bfb61e7fc1e407247eaaea41b8dd41b8b7cb3
net: inet: Remove count from inet_listen_hashbucket

After commit e4a69f3e8344 ("net: tcp6: prefer listeners bound to an address")
and commit 17faeae80425 ("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