From 089d2e178604a42330122da86485f95450ff3e7e Mon Sep 17 00:00:00 2001 From: "Liam R. Howlett" Date: Tue, 14 Sep 2021 20:09:23 -0400 Subject: [PATCH] maple_tree: Don't reset depth. MAS_START requires the mas_start() to be used which resets depth. Signed-off-by: Liam R. Howlett --- include/linux/maple_tree.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/maple_tree.h b/include/linux/maple_tree.h index b77e03e3a65a5..2be19d5fd7cb1 100644 --- a/include/linux/maple_tree.h +++ b/include/linux/maple_tree.h @@ -350,7 +350,6 @@ void mas_set_range(struct ma_state *mas, unsigned long start, unsigned long last mas->index = start; mas->last = last; mas->node = MAS_START; - mas->depth = 0; } /** -- 2.50.1