linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] refine mas_mab_cp()
@ 2024-09-11 14:27 Wei Yang
  2024-09-11 14:27 ` [PATCH 1/2] maple_tree: i is always less than or equal to mas_end Wei Yang
  2024-09-11 14:27 ` [PATCH 2/2] maple_tree: goto complete directly on a pivot of 0 Wei Yang
  0 siblings, 2 replies; 5+ messages in thread
From: Wei Yang @ 2024-09-11 14:27 UTC (permalink / raw)
  To: akpm, Liam.Howlett; +Cc: maple-tree, linux-mm, Wei Yang

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-09-11 15:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-11 14:27 [PATCH 0/2] refine mas_mab_cp() Wei Yang
2024-09-11 14:27 ` [PATCH 1/2] maple_tree: i is always less than or equal to mas_end Wei Yang
2024-09-11 15:26   ` Liam R. Howlett
2024-09-11 14:27 ` [PATCH 2/2] maple_tree: goto complete directly on a pivot of 0 Wei Yang
2024-09-11 15:26   ` Liam R. Howlett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox