diff options
| author | Wei Yang <richard.weiyang@gmail.com> | 2024-11-25 02:41:56 +0000 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-01-13 22:40:30 -0800 |
| commit | 002ebb925e2fcf150b0e346a960060ea4789ff01 (patch) | |
| tree | 344f221dfddd0a15b5a6e5531e14fff8f33d0ac2 /include/linux/task_work.h | |
| parent | cbc5dde0a461240046e8a41c43d7c3b76d5db952 (diff) | |
maple_tree: use mas_next_slot() directly
The loop condition makes sure (mas.last < max), so we can directly use
mas_next_slot() here.
Since no other use of mas_next_entry(), it is removed.
Link: https://lkml.kernel.org/r/20241125024156.26093-1-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Cc: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/task_work.h')
0 files changed, 0 insertions, 0 deletions
