summaryrefslogtreecommitdiff
path: root/tools/testing/radix-tree
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@infradead.org>2018-04-09 23:24:45 +0300
committerMatthew Wilcox <willy@infradead.org>2018-10-21 17:46:44 +0300
commit1cf56f9d670b88b2e947a7ccdb8ba32e6477915d (patch)
tree3d16b4ccb8ed09ee7a61f0aa50481eccb54a5057 /tools/testing/radix-tree
parenta28334862993b5c6a8766f6963ee69048403817c (diff)
downloadlinux-1cf56f9d670b88b2e947a7ccdb8ba32e6477915d.tar.xz
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.c2
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);