[U-Boot] [PATCH v2 05/11] efi_loader: simplify calling efi_init_obj_list

Simon Glass sjg at chromium.org
Fri Mar 23 14:30:02 UTC 2018


On 15 February 2018 at 00:31, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> efi_init_obj_list() should be executed only once.
>
> Rather than having the caller check this variable and the callee set it,
> move all access to the variable inside the function. This reduces the
> logic needed to call efi_init_obj_list().
>
> Suggested-by: Simon Glass <sjg at chromium.org>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> v2
>         no change, patch resent
> ---
>  cmd/bootefi.c | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list