]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg/EnrollDefaultKeys: remove unneeded EFIAPI call. conv. specifiers
authorLaszlo Ersek <lersek@redhat.com>
Thu, 25 Apr 2019 13:02:55 +0000 (15:02 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Tue, 30 Apr 2019 12:26:35 +0000 (14:26 +0200)
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>
OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c

index be0e4d8f8e96e166ceace5cee6764e02635e3163..671efef8d6ad434fe51f6fcf71649610ac6fae72 100644 (file)
@@ -811,7 +811,6 @@ Out:
 \r
 STATIC\r
 EFI_STATUS\r
-EFIAPI\r
 GetExact (\r
   IN CHAR16   *VariableName,\r
   IN EFI_GUID *VendorGuid,\r
@@ -855,7 +854,6 @@ typedef struct {
 \r
 STATIC\r
 EFI_STATUS\r
-EFIAPI\r
 GetSettings (\r
   OUT SETTINGS *Settings\r
   )\r
@@ -894,7 +892,6 @@ GetSettings (
 \r
 STATIC\r
 VOID\r
-EFIAPI\r
 PrintSettings (\r
   IN CONST SETTINGS *Settings\r
   )\r