efi_loader: do not unnecessarily use EFI_CALL()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 5 May 2020 23:51:04 +0000 (01:51 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 7 May 2020 16:23:16 +0000 (18:23 +0200)
commit306bf6e7ff9b267e4c38f8f38900cb93fa96b62b
treed420029f1744255e3a400d09dd0c833278ab7ac6
parent3fdff6be40b01423aacf2c02eb3b4ef6d2186caf
efi_loader: do not unnecessarily use EFI_CALL()

There is no need to call efi_get_variable() instead of
efi_get_variable_common(). So let's use the internal function.

Move forward declarations to the top of the file.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_variable.c