diff options
| author | Vernon Yang <vernon2gm@gmail.com> | 2022-12-21 14:00:57 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2023-01-18 17:12:46 -0800 |
| commit | 46b345848261009477552d654cb2f65000c30e4d (patch) | |
| tree | 9f8c087ed2ff597e06e10dfad1315d1431dcee1c /lib/mpi/mpi-sub-ui.c | |
| 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/20221221060058.609003-7-vernon2gm@gmail.com
Signed-off-by: Vernon Yang <vernon2gm@gmail.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
