Re: [PATCH] gpu: nova-core: simplify and_then with condition to filter
From: Gary Guo
Date: Thu Apr 23 2026 - 11:07:27 EST
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@xxxxxxxxxx>
Reviewed-by: Gary Guo <gary@xxxxxxxxxxx>
> ---
> drivers/gpu/nova-core/firmware.rs | 8 +-------
> 1 file changed, 1 insertion(+), 7 deletions(-)