summaryrefslogtreecommitdiff
path: root/src/boot/efi/assert.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot/efi/assert.c')
-rw-r--r--src/boot/efi/assert.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/boot/efi/assert.c b/src/boot/efi/assert.c
index 7a25526de2..bb16d2bf93 100644
--- a/src/boot/efi/assert.c
+++ b/src/boot/efi/assert.c
@@ -1,9 +1,8 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
-#ifndef NDEBUG
-
#include <efi.h>
#include <efilib.h>
+
#include "util.h"
void efi_assert(const char *expr, const char *file, unsigned line, const char *function) {
@@ -11,5 +10,3 @@ void efi_assert(const char *expr, const char *file, unsigned line, const char *f
for (;;)
BS->Stall(60 * 1000 * 1000);
}
-
-#endif