summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Kiper <daniel.kiper@oracle.com>2014-06-30 19:53:00 +0200
committerMatt Fleming <matt.fleming@intel.com>2014-07-18 21:23:57 +0100
commit0fe376e18f9add43e994963f7e47d24261e64d85 (patch)
tree7b1fed49ef2729d6aae5f96b44dc0211562aa3f2
parent9f2adfd8a97f6d9c2725888a4eeec22c17ac3dab (diff)
downloadlinux-stable-0fe376e18f9add43e994963f7e47d24261e64d85.tar.gz
linux-stable-0fe376e18f9add43e994963f7e47d24261e64d85.tar.bz2
linux-stable-0fe376e18f9add43e994963f7e47d24261e64d85.zip
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 <daniel.kiper@oracle.com> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-rw-r--r--arch/x86/platform/efi/efi.c2
1 files changed, 0 insertions, 2 deletions
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();
}