Remove useless pointer check.

Signed-of-by: ydong10
Reviewed-by: vanjeff
Reviewed-by: rsun3

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12348 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
ydong10 2011-09-14 09:55:31 +00:00
parent 83a52195e8
commit 02317fc34f
1 changed files with 62 additions and 64 deletions

View File

@ -789,7 +789,6 @@ AddTableToList (
// //
// Update pointers in FADT. If tables don't exist this will put NULL pointers there. // Update pointers in FADT. If tables don't exist this will put NULL pointers there.
// //
if (AcpiSupportInstance->Fadt3 != NULL) {
AcpiSupportInstance->Fadt3->FirmwareCtrl = (UINT32) (UINTN) AcpiSupportInstance->Facs3; AcpiSupportInstance->Fadt3->FirmwareCtrl = (UINT32) (UINTN) AcpiSupportInstance->Facs3;
Buffer64 = (UINT64) (UINTN) AcpiSupportInstance->Facs3; Buffer64 = (UINT64) (UINTN) AcpiSupportInstance->Facs3;
CopyMem ( CopyMem (
@ -856,7 +855,6 @@ AddTableToList (
Checksum) Checksum)
); );
} }
}
break; break;
case EFI_ACPI_1_0_FIRMWARE_ACPI_CONTROL_STRUCTURE_SIGNATURE: case EFI_ACPI_1_0_FIRMWARE_ACPI_CONTROL_STRUCTURE_SIGNATURE: