aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/android/binder_alloc.c
diff options
context:
space:
mode:
authorPeng Zhang <[email protected]>2023-11-20 07:09:37 +0000
committerAndrew Morton <[email protected]>2023-12-12 18:57:01 +0000
commit330018fe69c66333cb2115e54f1844e471668fc3 (patch)
treedb7eda83e591b1889ee6cde546ddf914152ca2a9 /drivers/android/binder_alloc.c
parentmaple_tree: delete one of the two identical checks (diff)
downloadkernel-330018fe69c66333cb2115e54f1844e471668fc3.tar.gz
kernel-330018fe69c66333cb2115e54f1844e471668fc3.zip
maple_tree: simplify mas_leaf_set_meta()
Now it seems that the incoming 'end' is already pointing to the last item, so we can simplify this function, considering only whether the last slot is being used. This has passed the maple tree test suite. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Peng Zhang <[email protected]> Reviewed-by: Liam R. Howlett <[email protected]> Cc: Dan Carpenter <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/android/binder_alloc.c')
0 files changed, 0 insertions, 0 deletions