From: Daniel Kiper Date: Mon, 30 Jun 2014 17:52:59 +0000 (+0200) Subject: arch/x86: Remove redundant set_bit(EFI_SYSTEM_TABLES) call X-Git-Tag: v3.17-rc1~131^2~12 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9f2adfd8a97f6d9c2725888a4eeec22c17ac3dab;p=karo-tx-linux.git 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 Signed-off-by: Matt Fleming --- 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) 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;