summaryrefslogtreecommitdiffstats
path: root/arch/x86/platform
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 /arch/x86/platform
parent9f2adfd8a97f6d9c2725888a4eeec22c17ac3dab (diff)
downloadop-kernel-dev-0fe376e18f9add43e994963f7e47d24261e64d85.zip
op-kernel-dev-0fe376e18f9add43e994963f7e47d24261e64d85.tar.gz
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>
Diffstat (limited to 'arch/x86/platform')
-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 30a1d5b..85fb16c 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();
}
OpenPOWER on IntegriCloud