]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
maple_tree: Drop struct ma_topiary no_bignode
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 19 Jul 2024 20:29:47 +0000 (16:29 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 9 Oct 2025 18:40:49 +0000 (14:40 -0400)
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 <Liam.Howlett@Oracle.com>
include/linux/maple_tree.h

index 0ac78e27b02fcec460a7c389e8205958007c277f..93eae7f5d871e17538dc04ea82992e9f7e906827 100644 (file)
@@ -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,