mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 15:44:04 +02:00
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
|
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
|
VOID
|
||||||
PrePiMain (
|
PrePiMain (
|
||||||
IN UINTN UefiMemoryBase,
|
IN UINTN UefiMemoryBase,
|
||||||
|
@ -61,12 +61,6 @@ BuildMemoryTypeInformationHob (
|
|||||||
VOID
|
VOID
|
||||||
);
|
);
|
||||||
|
|
||||||
EFI_STATUS
|
|
||||||
GetPlatformPpi (
|
|
||||||
IN EFI_GUID *PpiGuid,
|
|
||||||
OUT VOID **Ppi
|
|
||||||
);
|
|
||||||
|
|
||||||
// Initialize the Architecture specific controllers
|
// Initialize the Architecture specific controllers
|
||||||
VOID
|
VOID
|
||||||
ArchInitialize (
|
ArchInitialize (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user