efi_loader: remove duplicate image size check
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 27 Aug 2020 15:54:53 +0000 (17:54 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 6 Sep 2020 19:21:41 +0000 (21:21 +0200)
commit578d7cc8fa11f938a110bfea769c1dd311af0d75
tree2a4b5e2663dbd31771a4437b1a73115664447b29
parent5b94e26f1acc665e9b2789a31f3e5a87e23bf38d
efi_loader: remove duplicate image size check

The image size is checked in efi_load_pe(). Avoid checking it twice.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_boottime.c