]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: remove superfluous check in efi_setup_loaded_image()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 19 Mar 2019 17:58:58 +0000 (18:58 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 20 Mar 2019 17:16:53 +0000 (18:16 +0100)
commitf8ee20597d98f5faa51f045bf6504a547c5b263b
tree9c73b89058da4dd5d604396c26d2fa28338e384d
parent6e3e3ecec73c929738a1121778dc66a61345dbae
efi_loader: remove superfluous check in efi_setup_loaded_image()

It does not make any sense to check if a pointer is NULL if we have
dereferenced it before.

Reported-by: Coverity (CID 185827)
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_boottime.c