From 81406ec0c71475b4a944c327574a8f9b399c057e Mon Sep 17 00:00:00 2001 From: "Liam R. Howlett" Date: Fri, 29 Nov 2024 20:34:34 -0500 Subject: [PATCH] maple_tree: Use local variable the maple state variable has already been set up, so use it. Signed-off-by: Liam R. Howlett --- lib/maple_tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/maple_tree.c b/lib/maple_tree.c index ba1c21b6e89c2..fc2da803603dc 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -2257,7 +2257,7 @@ static inline void mas_wr_node_walk(struct ma_wr_state *wr_mas) return; } - wr_mas->node = mas_mn(wr_mas->mas); + wr_mas->node = mas_mn(mas); pivs = wr_mas->pivots = ma_pivots(wr_mas->node, wr_mas->type); count = mas->end = ma_data_end(wr_mas->node, wr_mas->type, pivs, mas->max); -- 2.50.1