[PATCH] boot/fit: remove useless else branch
Quentin Schulz
quentin.schulz at cherry.de
Tue Mar 24 18:25:15 CET 2026
Hi Julien,
On 3/24/26 4:33 PM, Julien Stephan wrote:
> The assignment of load = data is already performed before the
> if–elseif logic, making the additional assignment in the else
> branch unnecessary.
>
> Remove the redundant statement to simplify
> the control flow and improve readability.
>
Reviewed-by: Quentin Schulz <quentin.schulz at cherry.de>
Thanks!
Quentin
More information about the U-Boot
mailing list