summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/FirmwareKit/EFI/API.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/FirmwareKit/EFI/API.h')
-rw-r--r--src/kernel/FirmwareKit/EFI/API.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/kernel/FirmwareKit/EFI/API.h b/src/kernel/FirmwareKit/EFI/API.h
index bbd0588b..fce2b411 100644
--- a/src/kernel/FirmwareKit/EFI/API.h
+++ b/src/kernel/FirmwareKit/EFI/API.h
@@ -1,4 +1,4 @@
-// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org)
+// Copyright 2024-2026, Amlal El Mahrouss (amlal@nekernel.org)
// Licensed under the Apache License, Version 2.0 (see LICENSE file)
// Official repository: https://github.com/ne-foss-org/nekernel
@@ -71,8 +71,6 @@ inline void ThrowError(const EfiCharType* ErrorCode, const EfiCharType* Reason)
} // namespace Boot
inline void fw_init_efi(EfiSystemTable* SystemTable) {
- if (!SystemTable) return;
-
ST = SystemTable;
BS = ST->BootServices;
}