]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Avoid case statements with ma_gaps and ma_pivots
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 15 Sep 2020 16:03:11 +0000 (12:03 -0400)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 30 Oct 2020 19:11:47 +0000 (15:11 -0400)
commita4ec88fb4cd39804fef3f5b7f9717d8af6a1df9a
treefbee2bdb08ea0c97c719faf5a7169d0ce1c6ad27
parent4b9317b83c35b4e8cb5f0056569e20b249ceb869
maple_tree: Avoid case statements with ma_gaps and ma_pivots

Get the arrays and use them directly instead of switching on type every
time a value is needed.

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