]> git.baikalelectronics.ru Git - kernel.git/commit
efi: libstub: drop pointless get_memory_map() call
authorArd Biesheuvel <ardb@kernel.org>
Thu, 15 Sep 2022 17:00:24 +0000 (19:00 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Tue, 20 Sep 2022 17:34:22 +0000 (19:34 +0200)
commita675f3657ecfcbd7609f41615e954b2d96dc52d3
tree0d76c9682c8f205efcc961f6322e59026373b865
parent9c79e6a4994b3aabb8fec83c7e43d683932d5c25
efi: libstub: drop pointless get_memory_map() call

Currently, the non-x86 stub code calls get_memory_map() redundantly,
given that the data it returns is never used anywhere. So drop the call.

Cc: <stable@vger.kernel.org> # v4.14+
Fixes: 89d905412341 ("efi/arm-stub: Round up FDT allocation to mapping size")
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/fdt.c