diff options
author | Gaosheng Cui <cuigaosheng1@huawei.com> | 2022-09-22 16:38:56 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-26 11:48:14 -0700 |
commit | d6755f37abfd009e7ca3520c319c93d14cae54b3 (patch) | |
tree | dad1bf7e1af7bea99984b990050fe93e8d52d8f0 /include/net | |
parent | c8f01a4a54473f88f8cc0d9046ec9eb5a99815d5 (diff) | |
download | lwn-d6755f37abfd009e7ca3520c319c93d14cae54b3.tar.gz lwn-d6755f37abfd009e7ca3520c319c93d14cae54b3.zip |
net: Remove unused inline function sk_nulls_node_init()
All uses of sk_nulls_node_init() have
been removed since commit dbca1596bbb0 ("ping: convert to RCU
lookups, get rid of rwlock"), so remove it.
Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/sock.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/sock.h b/include/net/sock.h index 96a31026e35d..08038a385ef2 100644 --- a/include/net/sock.h +++ b/include/net/sock.h @@ -744,11 +744,6 @@ static inline void sk_node_init(struct hlist_node *node) node->pprev = NULL; } -static inline void sk_nulls_node_init(struct hlist_nulls_node *node) -{ - node->pprev = NULL; -} - static inline void __sk_del_node(struct sock *sk) { __hlist_del(&sk->sk_node); |