efi_loader: avoid writing message in Exit() boot service
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 26 Nov 2024 23:40:17 +0000 (00:40 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 5 Jan 2025 01:30:47 +0000 (02:30 +0100)
commitf99b549fc2e44fc5f5ac2283844cf30e784c8ff8
tree6e45decd8f8beaa619fd10053a060d3b5c1dbd63
parent8e5b57eea04c80a9226c6c71f892c8808caa3d65
efi_loader: avoid writing message in Exit() boot service

We should not write messages in UEFI API functions. This may lead to
incorrect screen layout in UEFI application.

For single statements after if clause we don't need braces.

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