diff options
author | Daniel Kiper <daniel.kiper@oracle.com> | 2014-06-30 13:52:59 -0400 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2014-07-18 16:23:56 -0400 |
commit | 9f2adfd8a97f6d9c2725888a4eeec22c17ac3dab (patch) | |
tree | 3ae327aea63475c3e0516301d67b13621523a8a3 | |
parent | 9f27bc543bdf92e179927037e2ab8ed0261579a9 (diff) |
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: Daniel Kiper <daniel.kiper@oracle.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-rw-r--r-- | arch/x86/platform/efi/efi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c index d9026538cfdb..30a1d5b53004 100644 --- a/arch/x86/platform/efi/efi.c +++ b/arch/x86/platform/efi/efi.c | |||
@@ -494,8 +494,6 @@ void __init efi_init(void) | |||
494 | if (efi_systab_init(efi_phys.systab)) | 494 | if (efi_systab_init(efi_phys.systab)) |
495 | return; | 495 | return; |
496 | 496 | ||
497 | set_bit(EFI_SYSTEM_TABLES, &efi.flags); | ||
498 | |||
499 | efi.config_table = (unsigned long)efi.systab->tables; | 497 | efi.config_table = (unsigned long)efi.systab->tables; |
500 | efi.fw_vendor = (unsigned long)efi.systab->fw_vendor; | 498 | efi.fw_vendor = (unsigned long)efi.systab->fw_vendor; |
501 | efi.runtime = (unsigned long)efi.systab->runtime; | 499 | efi.runtime = (unsigned long)efi.systab->runtime; |