diff options
| author | Vernon Yang <[email protected]> | 2022-12-21 14:00:57 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-01-18 17:12:46 -0800 |
| commit | 46b345848261009477552d654cb2f65000c30e4d (patch) | |
| tree | 9f8c087ed2ff597e06e10dfad1315d1431dcee1c /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | eabb305293835b191ffe60234587ae8bf5e4e9fd (diff) | |
maple_tree: refine ma_state init from mas_start()
If mas->node is an MAS_START, there are three cases, and they all assign
different values to mas->node and mas->offset. So there is no need to set
them to a default value before updating.
Update them directly to make them easier to understand and for better
readability.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Vernon Yang <[email protected]>
Reviewed-by: Liam R. Howlett <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions