[PATCH 1/1] efi_loader: remove duplicate assignment

Simon Glass sjg at chromium.org
Sun Apr 2 04:38:31 CEST 2023


On Sat, 1 Apr 2023 at 18:31, Heinrich Schuchardt <
heinrich.schuchardt at canonical.com> wrote:
>
> Assigning the value of a variable to itself should be avoided.
>
> Addresses-Coverity-ID: 451089 ("Evaluation order violation")
> Fixes: 180b7118bed8 ("efi_loader: fix device-path for USB devices")
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  lib/efi_loader/efi_device_path.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list