From: Liam R. Howlett Date: Wed, 15 Sep 2021 00:09:23 +0000 (-0400) Subject: maple_tree: Don't reset depth. X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=089d2e178604a42330122da86485f95450ff3e7e;p=users%2Fjedix%2Flinux-maple.git maple_tree: Don't reset depth. MAS_START requires the mas_start() to be used which resets depth. Signed-off-by: Liam R. Howlett --- diff --git a/include/linux/maple_tree.h b/include/linux/maple_tree.h index b77e03e3a65a..2be19d5fd7cb 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; } /**