mbox series

[0/2] cleanup mast_split_data()

Message ID 20240915012548.31724-1-richard.weiyang@gmail.com (mailing list archive)
Headers show
Series cleanup mast_split_data() | expand

Message

Wei Yang Sept. 15, 2024, 1:25 a.m. UTC
There are two possible redundant code:

1. the left subtree's mas is set in mab_mas_cp()
2. the right subtree's pivot 0 would be set again in mab_mas_cp()

We can remove them.

Wei Yang (2):
  maple_tree: the new max of left side subtree has been set
  maple_tree: not necessary to set pivot 0 before mab_mas_cp()

 lib/maple_tree.c | 2 --
 1 file changed, 2 deletions(-)