]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: clean up efi_dp_from_file
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 13 May 2023 08:18:24 +0000 (10:18 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 13 May 2023 09:09:51 +0000 (11:09 +0200)
commit57806128916e0fcb19d512d12f1f5e65442a1919
treeb36d05a5421b70bdc4bdd8561f553a30056ed2a0
parentbd646fc3deeb0c274a7fa61e3727916aadd23dc7
efi_loader: clean up efi_dp_from_file

* Improve variable name usage: Use pos instead of buf to indicate the
  current position in a buffer.
* Avoid double assignment in a single code line.

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