]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: Cleanup get_var duplication
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Sat, 27 Mar 2021 08:56:07 +0000 (10:56 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 10 Apr 2021 10:00:24 +0000 (12:00 +0200)
commit2ebfc8b4882b186fc7980de5a28cbc89db7d856b
tree4b72f6700c0f20c007e71ebf2c1e0858833c80f1
parent3c9e07927a51bd9799791c807d1c9b471285533a
efi_loader: Cleanup get_var duplication

get_var() is defined statically in efi_bootmgr.c and doesn't properly
check a buffer allocation.  Remove it completely and use the exported
function from efi_var_common.c that does the same thing

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_bootmgr.c