]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Remove unnecessary check from mas_destroy()
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Fri, 10 Feb 2023 21:50:08 +0000 (16:50 -0500)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 24 Apr 2023 20:20:42 +0000 (16:20 -0400)
commitac8b2cf4d0e86d9d5e8c0b3f3e346ba79fa97647
treef0c45eaddaf605b69cdaef3a46059aedfd5b3c9a
parent0c221eb58467cfe26d43f790f26e91573127174b
maple_tree: Remove unnecessary check from mas_destroy()

mas_destroy currently checks if mas->node is MAS_START prior to calling
mas_start(), but this is unnecessary as mas_start() will do nothing if
the node is anything but MAS_START.

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