Skip to content

Commit

Permalink
arch/x86: Remove redundant set_bit(EFI_MEMMAP) call
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daniel Kiper authored and Matt Fleming committed Jul 18, 2014
1 parent 9f2adfd commit 0fe376e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/x86/platform/efi/efi.c
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,6 @@ void __init efi_init(void)
if (efi_memmap_init())
return;

set_bit(EFI_MEMMAP, &efi.flags);

print_efi_memmap();
}

Expand Down

0 comments on commit 0fe376e

Please sign in to comment.