summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2017-07-24 11:59:11 (GMT)
committerAlexander Graf <agraf@suse.de>2017-07-24 12:38:21 (GMT)
commit3e094c592bc1dc19bb706379458f6be4e9500287 (patch)
treee9cea51382372bf9751663674e2ec5823415ab1b /lib
parent3e433e960887a480f520d4b82ff8d3df3e037ffb (diff)
downloadu-boot-fsl-qoriq-3e094c592bc1dc19bb706379458f6be4e9500287.tar.xz
efi_loader: move guidcmp to header
Want to re-use this for file protocol, which I'm working on. Signed-off-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_boottime.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c
index a89a629..e09f9da 100644
--- a/lib/efi_loader/efi_boottime.c
+++ b/lib/efi_loader/efi_boottime.c
@@ -132,11 +132,6 @@ static efi_status_t efi_unsupported(const char *funcname)
return EFI_EXIT(EFI_UNSUPPORTED);
}
-static int guidcmp(const efi_guid_t *g1, const efi_guid_t *g2)
-{
- return memcmp(g1, g2, sizeof(efi_guid_t));
-}
-
static unsigned long EFIAPI efi_raise_tpl(UINTN new_tpl)
{
EFI_ENTRY("0x%zx", new_tpl);