From: Heinrich Schuchardt Date: Sat, 27 Mar 2021 12:51:50 +0100 Subject: [PATCH] efi_loader: Cleanup get_var duplication In-Reply-To: <20210327085607.1353026-1-ilias.apalodimas@linaro.org> References: <20210327085607.1353026-1-ilias.apalodimas@linaro.org> Message-ID: <7ebeaba3-6396-ece6-eda5-df62b1f72847@gmx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 3/27/21 9:56 AM, Ilias Apalodimas wrote: > 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 Reviewed-by: Heinrich Schuchardt