]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: use list_count_nodes() in efi_protocols_per_handle()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 31 Jul 2024 08:13:04 +0000 (10:13 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 11 Aug 2024 05:47:23 +0000 (07:47 +0200)
commit68bd3456689bceecba23707b9b73d63b2a501f53
tree515148c9123f71c32dfdb6b99de783fb64a0ec50
parent7bd2559cb30a4e800db519e88a22a25f13c753ec
efi_loader: use list_count_nodes() in efi_protocols_per_handle()

Simplify the code by using the list_count_nodes() function.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_loader/efi_boottime.c