]> 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>
Mon, 24 Apr 2023 15:40:43 +0000 (11:40 -0400)
commit2973d4394bdee9a0edb48b35059fa406a0f0d3dc
tree945c1240b3f1c85fbf992d6df10f4ac3429a89ec
parent5620a4d985f2bdcf292a020cdac0037d9dfa52fd
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