diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-11-13 15:11:23 +0000 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-11-23 16:05:02 +0000 |
commit | 16d1322aa28ae92d8f533081981041c9470a0f2b (patch) | |
tree | 57998140d6d8267c9497fe9d6fe8ec8547c66a8d /ArmVirtPkg | |
parent | af47c61845363f7f739d7371edafacc63f575c62 (diff) | |
download | edk2-16d1322aa28ae92d8f533081981041c9470a0f2b.zip edk2-16d1322aa28ae92d8f533081981041c9470a0f2b.tar.gz edk2-16d1322aa28ae92d8f533081981041c9470a0f2b.tar.bz2 |
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>
Diffstat (limited to 'ArmVirtPkg')
-rwxr-xr-x | ArmVirtPkg/PrePi/PrePi.c | 24 | ||||
-rw-r--r-- | ArmVirtPkg/PrePi/PrePi.h | 6 |
2 files changed, 0 insertions, 30 deletions
diff --git a/ArmVirtPkg/PrePi/PrePi.c b/ArmVirtPkg/PrePi/PrePi.c index 3679087..c4fa979 100755 --- a/ArmVirtPkg/PrePi/PrePi.c +++ b/ArmVirtPkg/PrePi/PrePi.c @@ -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,
diff --git a/ArmVirtPkg/PrePi/PrePi.h b/ArmVirtPkg/PrePi/PrePi.h index d3189c0..153f06b 100644 --- a/ArmVirtPkg/PrePi/PrePi.h +++ b/ArmVirtPkg/PrePi/PrePi.h @@ -61,12 +61,6 @@ BuildMemoryTypeInformationHob ( VOID
);
-EFI_STATUS
-GetPlatformPpi (
- IN EFI_GUID *PpiGuid,
- OUT VOID **Ppi
- );
-
// Initialize the Architecture specific controllers
VOID
ArchInitialize (
|