summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/EnrollDefaultKeys
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2019-04-25 15:02:55 +0200
committerLaszlo Ersek <lersek@redhat.com>2019-04-30 14:26:35 +0200
commita2491a6c82e4c64df637ab60493a5a625bd4c521 (patch)
tree35d6e72dd9abce4617bce18c1efdef5a8a28d836 /OvmfPkg/EnrollDefaultKeys
parente0d612356e8413362967dc191f02b09c8c924033 (diff)
downloadedk2-a2491a6c82e4c64df637ab60493a5a625bd4c521.tar.gz
edk2-a2491a6c82e4c64df637ab60493a5a625bd4c521.tar.bz2
edk2-a2491a6c82e4c64df637ab60493a5a625bd4c521.zip
OvmfPkg/EnrollDefaultKeys: remove unneeded EFIAPI call. conv. specifiers
The GetExact(), GetSettings(), PrintSettings() functions are only called from within "EnrollDefaultKeys.c", and none of them take variable arguments. Drop their EFIAPI calling convention specifiers. Cc: Anthony Perard <anthony.perard@citrix.com> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Julien Grall <julien.grall@arm.com> Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=1747 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Gary Lin <glin@suse.com>
Diffstat (limited to 'OvmfPkg/EnrollDefaultKeys')
-rw-r--r--OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c b/OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c
index be0e4d8f8e..671efef8d6 100644
--- a/OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c
+++ b/OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c
@@ -811,7 +811,6 @@ Out:
STATIC
EFI_STATUS
-EFIAPI
GetExact (
IN CHAR16 *VariableName,
IN EFI_GUID *VendorGuid,
@@ -855,7 +854,6 @@ typedef struct {
STATIC
EFI_STATUS
-EFIAPI
GetSettings (
OUT SETTINGS *Settings
)
@@ -894,7 +892,6 @@ GetSettings (
STATIC
VOID
-EFIAPI
PrintSettings (
IN CONST SETTINGS *Settings
)