diff options
| author | Peng Zhang <[email protected]> | 2023-03-14 20:42:02 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-04-18 16:29:53 -0700 |
| commit | 97f7e09481f312b143db53cadbdfe81abac97e73 (patch) | |
| tree | 9cb942dea2d629635a0602a6aae7eb8e5a6ead82 /tools/perf/scripts/python/powerpc-hcalls.py | |
| 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/[email protected]
Signed-off-by: Peng Zhang <[email protected]>
Reviewed-by: Liam R. Howlett <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions