diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-03-03 15:28:58 +0100 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-04-04 11:00:06 +0200 |
commit | 098a6cdd1cc519f6c75b5e5de91c6655500a188a (patch) | |
tree | b8b52fe85597f69b6313aaaf8c7eabb4950e04b7 /arch/arm/mach-zynq | |
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>
Diffstat (limited to 'arch/arm/mach-zynq')
0 files changed, 0 insertions, 0 deletions