diff options
author | Matthew Wilcox <willy@infradead.org> | 2018-04-09 22:24:45 +0200 |
---|---|---|
committer | Matthew Wilcox <willy@infradead.org> | 2018-10-21 16:46:44 +0200 |
commit | 1cf56f9d670b88b2e947a7ccdb8ba32e6477915d (patch) | |
tree | 3d16b4ccb8ed09ee7a61f0aa50481eccb54a5057 /tools/testing/radix-tree | |
parent | page cache: Finish XArray conversion (diff) | |
download | linux-1cf56f9d670b88b2e947a7ccdb8ba32e6477915d.tar.xz linux-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 'tools/testing/radix-tree')
-rw-r--r-- | tools/testing/radix-tree/multiorder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/radix-tree/multiorder.c b/tools/testing/radix-tree/multiorder.c index 60786fa55302..0e0ff26c9bcb 100644 --- a/tools/testing/radix-tree/multiorder.c +++ b/tools/testing/radix-tree/multiorder.c @@ -618,7 +618,7 @@ static void multiorder_account(void) __radix_tree_insert(&tree, 1 << 5, 5, xa_mk_value(5)); __radix_tree_lookup(&tree, 1 << 5, &node, &slot); assert(node->count == node->nr_values * 2); - __radix_tree_replace(&tree, node, slot, NULL, NULL); + __radix_tree_replace(&tree, node, slot, NULL); assert(node->nr_values == 0); item_kill_tree(&tree); |