]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Clean up mas_dfs_postorder()
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 17 Apr 2023 18:28:25 +0000 (14:28 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 27 Apr 2023 01:31:59 +0000 (21:31 -0400)
commitd83434d6cb532aac0afcf00c86e91966fd6fe0e4
treef3a3c8999e47eec79f76941a21628971481dc9ae
parent9f9e6f9545cb321cf0560fea53016ca940ad6947
maple_tree: Clean up mas_dfs_postorder()

Convert loop type to ensure all variables are set to make the compiler
happy, and use the mas_is_none() function instead of explicitly checking
the node in the maple state.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
lib/maple_tree.c