diff options
| author | Shivam Kalra <shivamklr@cock.li> | 2026-01-30 23:58:23 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-02-03 12:58:29 +0100 |
| commit | 38ac9179a79d81ab1db3807ddd6c03fab29eb19b (patch) | |
| tree | d558d2f56a9adcafd1b578e99d60f11ad9e0e7d6 /include/uapi/linux | |
| parent | 9991bbc6d5e8fdfa0b1bcfeebf4637e8fd764bd8 (diff) | |
rust_binder: fix needless borrow in context.rs
Clippy warns about a needless borrow in context.rs:
error: this expression creates a reference which is immediately dereferenced by the compiler
--> drivers/android/binder/context.rs:141:18
|
141 | func(&proc);
| ^^^^^ help: change this to: `proc`
Remove the unnecessary borrow to satisfy clippy and improve code
cleanliness. No functional change.
Signed-off-by: Shivam Kalra <shivamklr@cock.li>
Acked-by: Alice Ryhl <aliceryhl@google.com>
Link: https://patch.msgid.link/20260130182842.217821-1-shivamklr@cock.li
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
