Re: [PATCH] gpu: nova-core: simplify and_then with condition to filter

Gary Guo
2026-04-23T15:04:20Z

On Thu Apr 23, 2026 at 8:11 AM BST, Eliot Courtney wrote:
> This code is more simply expressed using Option::filter instead of the
> and_then with conditional.
>
> Signed-off-by: Eliot Courtney <ecourtney@nvidia.com>

Reviewed-by: Gary Guo <gary@garyguo.net>

> ---
> drivers/gpu/nova-core/firmware.rs | 8 +-------
> 1 file changed, 1 insertion(+), 7 deletions(-)