]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: remove duplicate assignment
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 1 Apr 2023 05:21:55 +0000 (07:21 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 1 Apr 2023 08:11:50 +0000 (10:11 +0200)
commitdfd4288173245f0ea03df3e73cf62848c0212d98
tree805c0e0179018ba244223c5f49be4911b841d30c
parenta9203b0fefca4627096779e4eb4b1efbea43ec35
efi_loader: remove duplicate assignment

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@canonical.com>
lib/efi_loader/efi_device_path.c