summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/maple_tree.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/maple_tree.c b/lib/maple_tree.c
index 529acc056e55..b48bc4064ad2 100644
--- a/lib/maple_tree.c
+++ b/lib/maple_tree.c
@@ -356,11 +356,6 @@ static __always_inline bool mte_is_root(const struct maple_enode *node)
return ma_is_root(mte_to_node(node));
}
-static inline bool mas_is_root_limits(const struct ma_state *mas)
-{
- return !mas->min && mas->max == ULONG_MAX;
-}
-
static __always_inline bool mt_is_alloc(struct maple_tree *mt)
{
return (mt->ma_flags & MT_FLAGS_ALLOC_RANGE);