[PATCH 0/2] refine mas_mab_cp()

Wei Yang richard.weiyang at gmail.com
Wed Sep 11 07:27:57 PDT 2024


By analysis the code, one condition check could be removed and one case would
hit a redundant assignment.

Just remove it.

Wei Yang (2):
  maple_tree: i is always less than or equal to mas_end
  maple_tree: goto complete directly on a pivot of 0

 lib/maple_tree.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

-- 
2.34.1




More information about the maple-tree mailing list