From: Liam R. Howlett Date: Sat, 30 Nov 2024 01:34:34 +0000 (-0500) Subject: maple_tree: Use local variable X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=01af44abd92be474d00fc50e5dcc554896b70230;p=users%2Fjedix%2Flinux-maple.git maple_tree: Use local variable the maple state variable has already been set up, so use it. Signed-off-by: Liam R. Howlett --- diff --git a/lib/maple_tree.c b/lib/maple_tree.c index 9f6f032d4416..326c925f4fc8 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);