Code cleanup

This commit is contained in:
Rafal Kupiec 2022-11-06 20:03:49 +01:00
parent c8f99ad6ed
commit 2f16a8534c
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4

View File

@ -173,8 +173,6 @@ EFI_STATUS PeLoadImage(IN PEFI_FILE_HANDLE FileHandle,
/* Load each section into memory */ /* Load each section into memory */
for(Index = 0; Index < PeHeader->FileHeader.NumberOfSections; Index++) for(Index = 0; Index < PeHeader->FileHeader.NumberOfSections; Index++)
{ {
EfiXtLdrProtocol->EfiPrint(L"TEST: %lx\n", SectionHeader[Index].Misc.VirtualSize);
/* Check section raw data size and section virtual size */ /* Check section raw data size and section virtual size */
if(SectionHeader[Index].SizeOfRawData < SectionHeader[Index].Misc.VirtualSize) if(SectionHeader[Index].SizeOfRawData < SectionHeader[Index].Misc.VirtualSize)
{ {