From: Daniel Kiper Date: Mon, 30 Jun 2014 17:53:00 +0000 (+0200) Subject: arch/x86: Remove redundant set_bit(EFI_MEMMAP) call X-Git-Tag: v3.17-rc1~131^2~11 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0fe376e18f9add43e994963f7e47d24261e64d85;p=karo-tx-linux.git arch/x86: Remove redundant set_bit(EFI_MEMMAP) call Remove redundant set_bit(EFI_MEMMAP, &efi.flags) call. It is executed earlier in efi_memmap_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 30a1d5b53004..85fb16cd6479 100644 --- a/arch/x86/platform/efi/efi.c +++ b/arch/x86/platform/efi/efi.c @@ -534,8 +534,6 @@ void __init efi_init(void) if (efi_memmap_init()) return; - set_bit(EFI_MEMMAP, &efi.flags); - print_efi_memmap(); }