OSDN Git Service

arch/x86: Remove redundant set_bit(EFI_SYSTEM_TABLES) call
authorDaniel Kiper <daniel.kiper@oracle.com>
Mon, 30 Jun 2014 17:52:59 +0000 (19:52 +0200)
committerMatt Fleming <matt.fleming@intel.com>
Fri, 18 Jul 2014 20:23:56 +0000 (21:23 +0100)
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>
arch/x86/platform/efi/efi.c

index d902653..30a1d5b 100644 (file)
@@ -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;