mbox series

[0/2] Following cleanup after introduce mas_wr_store_type()

Message ID 20241016002221.32428-1-richard.weiyang@gmail.com (mailing list archive)
Headers show
Series Following cleanup after introduce mas_wr_store_type() | expand

Message

Wei Yang Oct. 16, 2024, 12:22 a.m. UTC
Here is two cleanup after introduction of mas_wr_store_type().

Patch 1 postpone new_end calculation when needed.

Patch 2 remove a unnecessary sanity check in mas_wr_slot_store().

Wei Yang (2):
  maple_tree: calculate new_end when needed
  maple_tree: remove sanity check from mas_wr_slot_store()

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