diff options
author | Matthew Wilcox <willy@infradead.org> | 2018-04-09 16:24:45 -0400 |
---|---|---|
committer | Matthew Wilcox <willy@infradead.org> | 2018-10-21 10:46:44 -0400 |
commit | 1cf56f9d670b88b2e947a7ccdb8ba32e6477915d (patch) | |
tree | 3d16b4ccb8ed09ee7a61f0aa50481eccb54a5057 /lib/idr.c | |
parent | a28334862993b5c6a8766f6963ee69048403817c (diff) | |
download | lwn-1cf56f9d670b88b2e947a7ccdb8ba32e6477915d.tar.gz lwn-1cf56f9d670b88b2e947a7ccdb8ba32e6477915d.zip |
radix tree: Remove radix_tree_update_node_t
The only user of this functionality was the workingset code, and it's
now been converted to the XArray. Remove __radix_tree_delete_node()
entirely as it was also only used by the workingset code.
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Diffstat (limited to 'lib/idr.c')
-rw-r--r-- | lib/idr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/idr.c b/lib/idr.c index 3c20ad9b0463..cb1db9b8d3f6 100644 --- a/lib/idr.c +++ b/lib/idr.c @@ -297,7 +297,7 @@ void *idr_replace(struct idr *idr, void *ptr, unsigned long id) if (!slot || radix_tree_tag_get(&idr->idr_rt, id, IDR_FREE)) return ERR_PTR(-ENOENT); - __radix_tree_replace(&idr->idr_rt, node, slot, ptr, NULL); + __radix_tree_replace(&idr->idr_rt, node, slot, ptr); return entry; } |