]> 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>
Tue, 5 Jan 2021 17:30:25 +0000 (12:30 -0500)
commite86f3d1a2de3e6aa5356145f1c1d63cdb38386bb
treecf97e614576fd0f4a2ce4423ab0873b18cca7ace
parent93a686506a154597c3c6abf18493c01a5ff8edd0
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