Commit 9f2adfd8 authored by Daniel Kiper's avatar Daniel Kiper Committed by Matt Fleming

arch/x86: Remove redundant set_bit(EFI_SYSTEM_TABLES) call

Remove redundant set_bit(EFI_SYSTEM_TABLES, &efi.flags) call.
It is executed earlier in efi_systab_init().
Signed-off-by: default avatarDaniel Kiper <daniel.kiper@oracle.com>
Signed-off-by: default avatarMatt Fleming <matt.fleming@intel.com>
parent 9f27bc54
......@@ -494,8 +494,6 @@ void __init efi_init(void)
if (efi_systab_init(efi_phys.systab))
return;
set_bit(EFI_SYSTEM_TABLES, &efi.flags);
efi.config_table = (unsigned long)efi.systab->tables;
efi.fw_vendor = (unsigned long)efi.systab->fw_vendor;
efi.runtime = (unsigned long)efi.systab->runtime;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment