]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: simplify efi_dp_from_name()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 13 May 2023 08:30:43 +0000 (10:30 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 13 May 2023 09:09:51 +0000 (11:09 +0200)
commite1273ea2ec0edfa5502b66b0b142efddd2ef8283
tree15209da7dfb7915b7b0874bfa97a4ab044b5bf11
parent9f7ed4b469b5f9b77ea9c0745697b2269f375917
efi_loader: simplify efi_dp_from_name()

Don't do the same check and assignment in multiple places.

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