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

From: Alexandre Courbot

Date: Sat May 02 2026 - 11:43:06 EST


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.