Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;