summaryrefslogtreecommitdiffstats
path: root/tools/testing/radix-tree/multiorder.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/radix-tree/multiorder.c')
-rw-r--r--tools/testing/radix-tree/multiorder.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/tools/testing/radix-tree/multiorder.c b/tools/testing/radix-tree/multiorder.c
index 0436554a099a..dc27a3da210a 100644
--- a/tools/testing/radix-tree/multiorder.c
+++ b/tools/testing/radix-tree/multiorder.c
@@ -356,29 +356,6 @@ void multiorder_tagged_iteration(void)
item_kill_tree(&tree);
}
-static void multiorder_account(void)
-{
- RADIX_TREE(tree, GFP_KERNEL);
- struct radix_tree_node *node;
- void **slot;
-
- item_insert_order(&tree, 0, 5);
-
- __radix_tree_insert(&tree, 1 << 5, 5, xa_mk_value(5));
- __radix_tree_lookup(&tree, 0, &node, NULL);
- assert(node->count == node->nr_values * 2);
- radix_tree_delete(&tree, 1 << 5);
- assert(node->nr_values == 0);
-
- __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);
- assert(node->nr_values == 0);
-
- item_kill_tree(&tree);
-}
-
bool stop_iteration = false;
static void *creator_func(void *ptr)
@@ -457,7 +434,6 @@ void multiorder_checks(void)
multiorder_tag_tests();
multiorder_iteration();
multiorder_tagged_iteration();
- multiorder_account();
multiorder_iteration_race();
radix_tree_cpu_dead(0);