Skip to content

Commit

Permalink
arch/x86: Remove redundant set_bit(EFI_SYSTEM_TABLES) call
Browse files Browse the repository at this point in the history
Remove redundant set_bit(EFI_SYSTEM_TABLES, &efi.flags) call.
It is executed earlier in efi_systab_init().

Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
  • Loading branch information
Daniel Kiper authored and Matt Fleming committed Jul 18, 2014
1 parent 9f27bc5 commit 9f2adfd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/x86/platform/efi/efi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9f2adfd

Please sign in to comment.