summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGaosheng Cui <cuigaosheng1@huawei.com>2022-09-22 10:38:56 +0200
committerJakub Kicinski <kuba@kernel.org>2022-09-26 20:48:14 +0200
commitd6755f37abfd009e7ca3520c319c93d14cae54b3 (patch)
treedad1bf7e1af7bea99984b990050fe93e8d52d8f0 /include
parentneighbour: Remove unused inline function neigh_key_eq16() (diff)
downloadlinux-d6755f37abfd009e7ca3520c319c93d14cae54b3.tar.xz
linux-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')
-rw-r--r--include/net/sock.h5
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);