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)
commitd5974af7f7626777b5c41894f75c813ff35c1793
tree9c73b89058da4dd5d604396c26d2fa28338e384d
parent1fd7a4764103781e424ef687034da06de3cb60b7
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