From 0a4794f1438275df8856a5ae5567a40a62a4f299 Mon Sep 17 00:00:00 2001 From: "Liam R. Howlett" Date: Fri, 19 Jul 2024 16:29:47 -0400 Subject: [PATCH] maple_tree: Drop struct ma_topiary The ma_topiary structure was being used to keep track of dead subtrees during a larger tree modification. It is no longer used so the struct can be dropped. Signed-off-by: Liam R. Howlett --- include/linux/maple_tree.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/include/linux/maple_tree.h b/include/linux/maple_tree.h index 0ac78e27b02f..93eae7f5d871 100644 --- a/include/linux/maple_tree.h +++ b/include/linux/maple_tree.h @@ -352,19 +352,6 @@ struct maple_node { }; }; -/* - * More complicated stores can cause two nodes to become one or three and - * potentially alter the height of the tree. Either half of the tree may need - * to be rebalanced against the other. The ma_topiary struct is used to track - * which nodes have been 'cut' from the tree so that the change can be done - * safely at a later date. This is done to support RCU. - */ -struct ma_topiary { - struct maple_enode *head; - struct maple_enode *tail; - struct maple_tree *mtree; -}; - void *mtree_load(struct maple_tree *mt, unsigned long index); int mtree_insert(struct maple_tree *mt, unsigned long index, -- 2.51.0