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>
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user