diff options
| author | Vernon Yang <vernon2gm@gmail.com> | 2022-12-21 14:00:55 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2023-01-18 17:12:46 -0800 |
| commit | 84fd3e1ee395649ac45b7317d44c10b33d0dca79 (patch) | |
| tree | de8ba3ac1127ef8ccdab3cd9ebea9b50b9ffa7ad /lib/mpi/mpi-sub-ui.c | |
| parent | bd592703b81a95473f6a01fe731beccd0992236e (diff) | |
maple_tree: use macro MA_ROOT_PARENT instead of number
When you need to compare whether node->parent is parent of the
root node, using macro MA_ROOT_PARENT is easier to understand
and for better readability.
Link: https://lkml.kernel.org/r/20221221060058.609003-5-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
