efi/libstub: Drop protocol argument from efi_call_proto() macro
After refactoring the mixed mode support code, efi_call_proto() no longer uses its protocol argument in any of its implementation, so let's remove it altogether. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Cc: Arvind Sankar <nivedita@alum.mit.edu> Cc: Borislav Petkov <bp@alien8.de> Cc: James Morse <james.morse@arm.com> Cc: Matt Fleming <matt@codeblueprint.co.uk> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-efi@vger.kernel.org Link: https://lkml.kernel.org/r/20191224151025.32482-22-ardb@kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:

committed by
Ingo Molnar

parent
23e6039404
commit
47c0fd39b7
@@ -953,9 +953,7 @@ void *get_efi_config_table(efi_guid_t guid)
|
||||
|
||||
void efi_char16_printk(efi_char16_t *str)
|
||||
{
|
||||
efi_call_proto(efi_simple_text_output_protocol,
|
||||
output_string,
|
||||
efi_table_attr(efi_system_table, con_out,
|
||||
efi_call_proto(efi_table_attr(efi_system_table, con_out,
|
||||
efi_system_table()),
|
||||
str);
|
||||
output_string, str);
|
||||
}
|
||||
|
Reference in New Issue
Block a user