Re: [PATCH v12 21/22] gpu: nova-core: mm: pramin: drop useless as_ref() in run_self_test

Alexandre Courbot
2026-05-02T15:42:57Z

On Sun Apr 26, 2026 at 6:14 AM JST, Joel Fernandes wrote:
> `pdev` is already `&device::Device<device::Bound>`, so calling `.as_ref()`
> on it just returns the same reference. Bind `dev` to `pdev` directly to
> silence the `clippy::useless_asref` warning.

Why is this a separate commit? It can, and should, be squashed into the
previous patch.