efi_disk: efi_disk_rw_blocks is not an API function
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 26 Aug 2017 20:33:13 +0000 (22:33 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 18 Sep 2017 21:53:56 +0000 (23:53 +0200)
There is no need to use attribute EFIAPI for
efi_disk_rw_blocks. It is not an API function.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_disk.c

index ed06485e334b771b2e2e8872615952b19735c0f2..4e78ade2ed22c1ca39385b5b90dcb82595fd47e7 100644 (file)
@@ -47,7 +47,7 @@ enum efi_disk_direction {
        EFI_DISK_WRITE,
 };
 
-static efi_status_t EFIAPI efi_disk_rw_blocks(struct efi_block_io *this,
+static efi_status_t efi_disk_rw_blocks(struct efi_block_io *this,
                        u32 media_id, u64 lba, unsigned long buffer_size,
                        void *buffer, enum efi_disk_direction direction)
 {