diff options
| author | Heinrich Schuchardt <[email protected]> | 2018-03-03 15:28:58 +0100 |
|---|---|---|
| committer | Alexander Graf <[email protected]> | 2018-04-04 11:00:06 +0200 |
| commit | 098a6cdd1cc519f6c75b5e5de91c6655500a188a (patch) | |
| tree | b8b52fe85597f69b6313aaaf8c7eabb4950e04b7 /include | |
| 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 <[email protected]>
Signed-off-by: Heinrich Schuchardt <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
