mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
radix tree: Remove radix_tree_clear_tags
The page cache was the only user of this interface and it has now been converted to the XArray. Transform the test into a test of xas_init_marks(). Signed-off-by: Matthew Wilcox <willy@infradead.org>
This commit is contained in:
@@ -1670,19 +1670,6 @@ void *radix_tree_delete(struct radix_tree_root *root, unsigned long index)
|
||||
}
|
||||
EXPORT_SYMBOL(radix_tree_delete);
|
||||
|
||||
void radix_tree_clear_tags(struct radix_tree_root *root,
|
||||
struct radix_tree_node *node,
|
||||
void __rcu **slot)
|
||||
{
|
||||
if (node) {
|
||||
unsigned int tag, offset = get_slot_offset(node, slot);
|
||||
for (tag = 0; tag < RADIX_TREE_MAX_TAGS; tag++)
|
||||
node_tag_clear(root, node, tag, offset);
|
||||
} else {
|
||||
root_tag_clear_all(root);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* radix_tree_tagged - test whether any items in the tree are tagged
|
||||
* @root: radix tree root
|
||||
|
Reference in New Issue
Block a user