summaryrefslogtreecommitdiff
path: root/drivers/android/binder/range_alloc/array.rs
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-05-11 08:48:31 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-05-11 08:48:31 +0200
commitea09c82fbc53aad867541cd2f0bde96c6b228ba0 (patch)
tree803220c6ee761605b4cf502b924c20ed25e96be6 /drivers/android/binder/range_alloc/array.rs
parent81f55766523e5293604cb96c5e98d10da345ff33 (diff)
parent5d6919055dec134de3c40167a490f33c74c12581 (diff)
Merge tag 'v7.1-rc3' into staging-next
We need the staging fixes in here to build off of. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/android/binder/range_alloc/array.rs')
-rw-r--r--drivers/android/binder/range_alloc/array.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/android/binder/range_alloc/array.rs b/drivers/android/binder/range_alloc/array.rs
index ada1d1b4302e..081d19b09d4b 100644
--- a/drivers/android/binder/range_alloc/array.rs
+++ b/drivers/android/binder/range_alloc/array.rs
@@ -204,7 +204,6 @@ impl<T> ArrayRangeAllocator<T> {
// caller will mark them as unused, which means that they can be freed if the system comes
// under memory pressure.
let mut freed_range = FreedRange::interior_pages(offset, size);
- #[expect(clippy::collapsible_if)] // reads better like this
if offset % PAGE_SIZE != 0 {
if i == 0 || self.ranges[i - 1].endpoint() <= (offset & PAGE_MASK) {
freed_range.start_page_idx -= 1;