]> git.baikalelectronics.ru Git - uboot.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)
commit295ced8c73f57440a9af606043407b005a836c9e
tree805c0e0179018ba244223c5f49be4911b841d30c
parentfa346dac544e5cbf323bc39918aab977a406c868
efi_loader: remove duplicate assignment

Assigning the value of a variable to itself should be avoided.

Addresses-Coverity-ID: 451089 ("Evaluation order violation")
Fixes: 8809169dacd6 ("efi_loader: fix device-path for USB devices")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_loader/efi_device_path.c