]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: address coverity report 492766 for dead code
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Tue, 23 Apr 2024 05:38:06 +0000 (08:38 +0300)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 1 May 2024 05:39:27 +0000 (07:39 +0200)
commit5025d029a95ff3865875684160da08d2f40e5133
tree5158f05dfed75f2b54abaf4033b84a92e4d94465
parent5ab82b10f02296232a14fde6dab1803559ab62e5
efi_loader: address coverity report 492766 for dead code

The check of the return code is already done a few lines above.
Although it doesn't cause any functional issues, remove the superfluous
checks

Addresses-Coverity-ID: 492766 Control flow issues  (DEADCODE)
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_loader/efi_var_mem.c