mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-19 03:15:00 +00:00
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>
This commit is contained in:
parent
5ab82b10f0
commit
5025d029a9
1 changed files with 0 additions and 2 deletions
|
@ -232,8 +232,6 @@ efi_status_t efi_var_mem_init(void)
|
|||
efi_var_buf->length = (uintptr_t)efi_var_buf->var -
|
||||
(uintptr_t)efi_var_buf;
|
||||
|
||||
if (ret != EFI_SUCCESS)
|
||||
return ret;
|
||||
ret = efi_create_event(EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE, TPL_CALLBACK,
|
||||
efi_var_mem_notify_virtual_address_map, NULL,
|
||||
NULL, &event);
|
||||
|
|
Loading…
Add table
Reference in a new issue