diff options
| author | Vernon Yang <vernon2gm@gmail.com> | 2022-12-21 14:00:58 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2023-01-18 17:12:47 -0800 |
| commit | e11cb683b2ebc6699bc0ca200442f1b80a51553f (patch) | |
| tree | 0d4b92a88d7dcc414cc08be4a8f28597cde36a62 /lib/mpi/mpi-sub-ui.c | |
| parent | 46b345848261009477552d654cb2f65000c30e4d (diff) | |
maple_tree: refine mab_calc_split function
Invert the conditional judgment of the mid_split, to focus the return
statement in the last statement, which is easier to understand and for
better readability.
Link: https://lkml.kernel.org/r/20221221060058.609003-8-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
