
23 Mar
2018
23 Mar
'18
3:30 p.m.
On 15 February 2018 at 00:31, Heinrich Schuchardt xypron.glpk@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@chromium.org Signed-off-by: Heinrich Schuchardt xypron.glpk@gmx.de
v2 no change, patch resent
cmd/bootefi.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org