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)
commitd80ca810f096ff66f451e7a3ed2f0cd9ef1ff519
tree0d76c9682c8f205efcc961f6322e59026373b865
parentead384d956345681e1ddf97890d5e15ded015f07
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: 24d7c494ce46 ("efi/arm-stub: Round up FDT allocation to mapping size")
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/fdt.c