]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
maple tree: use goto label to simplify code
authorDev Jain <dev.jain@arm.com>
Tue, 24 Jun 2025 08:07:48 +0000 (13:37 +0530)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 10 Jul 2025 05:42:19 +0000 (22:42 -0700)
commit592b939b59b43a817ce6d79900793982d452bb5d
tree7de541d2a826ef4ad2c2d8a8139d319cf563f8bf
parentdfa3cf0bc018ff15e02ce19906be00a287ff2395
maple tree: use goto label to simplify code

Use the underflow goto label to set the status to ma_underflow and return
NULL, as is being done elsewhere.

[akpm@linux-foundation.org: add newline, per Liam (and remove one, per akpm)]
Link: https://lkml.kernel.org/r/20250624080748.4855-1-dev.jain@arm.com
Signed-off-by: Dev Jain <dev.jain@arm.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Reviewed-by: Wei Yang <richard.weiyang@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/maple_tree.c