Skip to content

Commit c7c090a

Browse files
Darksonngregkh
authored andcommitted
rust_binder: remove warning about orphan mappings
This condition occurs if a thread dies while processing a transaction. We should not print anything in this scenario. Signed-off-by: Alice Ryhl <[email protected]> Reviewed-by: Joel Fernandes <[email protected]> Acked-by: Carlos Llamas <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 7e69a24 commit c7c090a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/android/binder/process.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,10 +1346,6 @@ impl Process {
13461346
.alloc
13471347
.take_for_each(|offset, size, debug_id, odata| {
13481348
let ptr = offset + address;
1349-
pr_warn!(
1350-
"{}: removing orphan mapping {offset}:{size}\n",
1351-
self.pid_in_current_ns()
1352-
);
13531349
let mut alloc =
13541350
Allocation::new(self.clone(), debug_id, offset, size, ptr, false);
13551351
if let Some(data) = odata {

0 commit comments

Comments
 (0)