]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: avoid #ifdef in efi_setup.c
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 16 Oct 2024 10:17:39 +0000 (12:17 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 18 Oct 2024 14:17:29 +0000 (16:17 +0200)
commit3d23dedd929cedb36499469ceec0247578fed046
tree72573d032513bd018f167da94387a9c247d4dced
parent82c98b9464d1c4473f9c695a0bbe1579c2de9682
efi_loader: avoid #ifdef in efi_setup.c

We prefer `if` over `#ifdef` in our code.

Eliminate #ifdef statements in efi_setup.c.

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