]> git.karo-electronics.de Git - linux-beck.git/commitdiff
arch/x86: Remove redundant set_bit(EFI_MEMMAP) call
authorDaniel Kiper <daniel.kiper@oracle.com>
Mon, 30 Jun 2014 17:53:00 +0000 (19:53 +0200)
committerMatt Fleming <matt.fleming@intel.com>
Fri, 18 Jul 2014 20:23:57 +0000 (21:23 +0100)
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>
arch/x86/platform/efi/efi.c

index 30a1d5b53004469be68cb14f0b7ace8a73f4035c..85fb16cd6479eae70b50d96dd88cfb3df2296a28 100644 (file)
@@ -534,8 +534,6 @@ void __init efi_init(void)
        if (efi_memmap_init())
                return;
 
-       set_bit(EFI_MEMMAP, &efi.flags);
-
        print_efi_memmap();
 }