efi_loader: remove unused code from copy_fdt()
authorSughosh Ganu <sughosh.ganu@linaro.org>
Mon, 17 Mar 2025 08:33:55 +0000 (14:03 +0530)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Wed, 26 Mar 2025 11:28:08 +0000 (13:28 +0200)
commitb267ab2c532a69931c44e4fb43d249f756ed053f
tree592446e7a9fb9f94289024b29fd4ee424aa4e64c
parent042c8f0cb1ea5f6988e8633799f7b550876f0ae6
efi_loader: remove unused code from copy_fdt()

There is logic in the copy_fdt() function which is iterating over the
platform's DRAM banks and setting the fdt_ram_start variable. However,
this variable is not used subsequently in the function. Remove this
superfluous code.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_loader/efi_helper.c