]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: simplify efi_remove_all_protocols
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 11 Jan 2018 07:15:55 +0000 (08:15 +0100)
committerAlexander Graf <agraf@suse.de>
Mon, 22 Jan 2018 22:09:12 +0000 (23:09 +0100)
commit17512623d94f8af19d12e6e09d72f5efe14556a1
treea3e963e325f9af8b2e73e9a0d5bb37b701689eda
parent5735f2aa71723740319a7e8bfa32c1e1f56577ff
efi_loader: simplify efi_remove_all_protocols

Replace list_for_each_safe() and list_entry() by
list_for_each_entry_safe().

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_boottime.c