]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: simplify efi_tcg2_hash_log_extend_event()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 5 Nov 2024 04:20:45 +0000 (05:20 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 23 Nov 2024 22:14:15 +0000 (23:14 +0100)
commita152e149991dd062ba47f41c06cc44723c30375f
treeb879294b76209e43d561f0d4b0f8df8f21835474
parent52c0e5f8a39ef022ee5ab2dfd67661d1d34941c7
efi_loader: simplify efi_tcg2_hash_log_extend_event()

The value of variable nt is never used. Just use NULL when calling
efi_check_pe().

The API function is not expected to write to the console. Such output might
have unwanted side effects on the screen layout of an EFI application.

Leave error handling to the caller.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_loader/efi_tcg2.c