mirror of
https://github.com/torvalds/linux.git
synced 2024-12-02 00:51:44 +00:00
net: Remove unused inline function sk_nulls_node_init()
All uses of sk_nulls_node_init() have
been removed since commit dbca1596bb
("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>
This commit is contained in:
parent
c8f01a4a54
commit
d6755f37ab
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user