maple_tree: remove pointer to pointer use in mas_alloc_nodes()
authorLiam Howlett <liam.howlett@oracle.com>
Wed, 26 Oct 2022 15:13:29 +0000 (15:13 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 8 Nov 2022 23:57:22 +0000 (15:57 -0800)
commitc61b3a2b2d9bb36698f8c2f65aa41ba183815264
treeb579fa06058c3f54246ad4631519a971f32d58f7
parentf0c4d9fc9cc9462659728d168387191387e903cc
maple_tree: remove pointer to pointer use in mas_alloc_nodes()

There is a more direct and cleaner way of implementing the same functional
code.  Remove the confusing and unnecessary use of pointers here.

Link: https://lkml.kernel.org/r/20221026151241.4031117-1-Liam.Howlett@oracle.com
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Suggested-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/maple_tree.c