From: Liam R. Howlett Date: Tue, 19 Aug 2025 14:09:28 +0000 (-0400) Subject: maple_tree: Remove unnecessary assignment of orig_l index X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=93bfac76ba1f6c67ffdb421a4cd4d1a4dfd6ea1d;p=users%2Fjedix%2Flinux-maple.git maple_tree: Remove unnecessary assignment of orig_l index The index value is already a copy of the maple state so there is no need to set it again. Signed-off-by: Liam R. Howlett --- diff --git a/lib/maple_tree.c b/lib/maple_tree.c index 2f6615184890..a807988c6bc4 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -2764,7 +2764,7 @@ static noinline void mas_wr_spanning_rebalance(struct ma_state *mas, b_node.b_end++; /* Stop spanning searches by searching for just index. */ - mast->orig_l->index = mast->orig_l->last = mas->index; + mast->orig_l->last = mas->index; mast->bn = &b_node; /* Combine l_mas and r_mas and split them up evenly again. */