commit | 098a6cdd1cc519f6c75b5e5de91c6655500a188a | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sat Mar 03 15:28:58 2018 +0100 |
committer | Alexander Graf <agraf@suse.de> | Wed Apr 04 11:00:06 2018 +0200 |
tree | b8b52fe85597f69b6313aaaf8c7eabb4950e04b7 | |
parent | d7b181d57d0c7080facce755c4b9ff7a22436a48 [diff] |
efi_loader: simplify calling efi_init_obj_list 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> Signed-off-by: Alexander Graf <agraf@suse.de>