mirror of https://github.com/acidanthera/audk.git
ArmVirtPkg/PrePi: remove unused GetPlatformPpi() function
Remove GetPlatformPpi() from PrePi: it is not used anywhere. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
parent
af47c61845
commit
16d1322aa2
|
@ -35,30 +35,6 @@ ProcessLibraryConstructorList (
|
|||
VOID
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
GetPlatformPpi (
|
||||
IN EFI_GUID *PpiGuid,
|
||||
OUT VOID **Ppi
|
||||
)
|
||||
{
|
||||
UINTN PpiListSize;
|
||||
UINTN PpiListCount;
|
||||
EFI_PEI_PPI_DESCRIPTOR *PpiList;
|
||||
UINTN Index;
|
||||
|
||||
PpiListSize = 0;
|
||||
ArmPlatformGetPlatformPpiList (&PpiListSize, &PpiList);
|
||||
PpiListCount = PpiListSize / sizeof(EFI_PEI_PPI_DESCRIPTOR);
|
||||
for (Index = 0; Index < PpiListCount; Index++, PpiList++) {
|
||||
if (CompareGuid (PpiList->Guid, PpiGuid) == TRUE) {
|
||||
*Ppi = PpiList->Ppi;
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
}
|
||||
|
||||
return EFI_NOT_FOUND;
|
||||
}
|
||||
|
||||
VOID
|
||||
PrePiMain (
|
||||
IN UINTN UefiMemoryBase,
|
||||
|
|
|
@ -61,12 +61,6 @@ BuildMemoryTypeInformationHob (
|
|||
VOID
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
GetPlatformPpi (
|
||||
IN EFI_GUID *PpiGuid,
|
||||
OUT VOID **Ppi
|
||||
);
|
||||
|
||||
// Initialize the Architecture specific controllers
|
||||
VOID
|
||||
ArchInitialize (
|
||||
|
|
Loading…
Reference in New Issue