summaryrefslogtreecommitdiff
path: root/include/net/inet_hashtables.h
diff options
context:
space:
mode:
authorMartin KaFai Lau <kafai@fb.com>2022-05-11 17:05:52 -0700
committerJakub Kicinski <kuba@kernel.org>2022-05-12 16:52:17 -0700
commit8ea1eebb49a2dfee1dce621a638cc1626e542392 (patch)
tree77a165fe50faa87bcd6a241212618557ae3b2c46 /include/net/inet_hashtables.h
parent0c1822d9072538cf8e10dc0ab08842700e717d8e (diff)
net: inet: Remove count from inet_listen_hashbucket
After commit 0ee58dad5b06 ("net: tcp6: prefer listeners bound to an address") and commit d9fbc7f6431f ("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>
Diffstat (limited to 'include/net/inet_hashtables.h')
-rw-r--r--include/net/inet_hashtables.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/inet_hashtables.h b/include/net/inet_hashtables.h
index 98e1ec1a14f0..103fc7a30e60 100644
--- a/include/net/inet_hashtables.h
+++ b/include/net/inet_hashtables.h
@@ -111,7 +111,6 @@ struct inet_bind_hashbucket {
#define LISTENING_NULLS_BASE (1U << 29)
struct inet_listen_hashbucket {
spinlock_t lock;
- unsigned int count;
union {
struct hlist_head head;
struct hlist_nulls_head nulls_head;