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