Some cleanup related to mas_anode_descend(). Patch 1: remove an unnecessary check Patch 2: won't hit root node Patch 3: on error we don't set offset to MAPLE_NODE_SLOTS Wei Yang (3): maple_tree: index has been checked to be smaller than pivot maple_tree: not possible to be a root node after loop maple_tree: we don't set offset to MAPLE_NODE_SLOTS on error lib/maple_tree.c | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) -- 2.34.1