diff options
author | Martin KaFai Lau <kafai@fb.com> | 2022-05-12 02:05:52 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-05-13 01:52:17 +0200 |
commit | 8ea1eebb49a2dfee1dce621a638cc1626e542392 (patch) | |
tree | 77a165fe50faa87bcd6a241212618557ae3b2c46 /include/net/inet_hashtables.h | |
parent | Merge branch 'make-sfc-siena-ko-specific-to-siena' (diff) | |
download | linux-8ea1eebb49a2dfee1dce621a638cc1626e542392.tar.xz linux-8ea1eebb49a2dfee1dce621a638cc1626e542392.zip |
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.h | 1 |
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; |