maple_tree: Remove unnecessary check from mas_destroy() maple_for6.4_unstable
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, 13 Feb 2023 13:42:05 +0000 (08:42 -0500)
commit78f35221c23ce6cc65ab54ca1b7e1e1a84e97f50
tree3424e373a1e3728cd67580fe0ff43ed301d709ba
parentee65687b04503d28154c8f24db688cbb44358f89
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