diff options
author | Peng Zhang <zhangpeng.00@bytedance.com> | 2023-03-14 20:42:02 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-04-18 16:29:53 -0700 |
commit | 97f7e09481f312b143db53cadbdfe81abac97e73 (patch) | |
tree | 9cb942dea2d629635a0602a6aae7eb8e5a6ead82 /kernel/gcov | |
parent | 9bc47f11525fb666a370063888904160188b024e (diff) |
maple_tree: simplify mas_wr_node_walk()
Simplify code of mas_wr_node_walk() without changing functionality, and
improve readability. Remove some special judgments. Instead of
dynamically recording the min and max in the loop, get the final min and
max directly at the end.
Link: https://lkml.kernel.org/r/20230314124203.91572-3-zhangpeng.00@bytedance.com
Signed-off-by: Peng Zhang <zhangpeng.00@bytedance.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'kernel/gcov')
0 files changed, 0 insertions, 0 deletions