From: Liam R. Howlett Date: Fri, 19 Jul 2024 20:29:47 +0000 (-0400) Subject: maple_tree: Drop struct ma_topiary X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Fno_bignode;p=users%2Fjedix%2Flinux-maple.git 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 --- 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,