summaryrefslogtreecommitdiffstats
path: root/sys/boot/efi/loader/arch/amd64/elf64_freebsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/efi/loader/arch/amd64/elf64_freebsd.c')
-rw-r--r--sys/boot/efi/loader/arch/amd64/elf64_freebsd.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/boot/efi/loader/arch/amd64/elf64_freebsd.c b/sys/boot/efi/loader/arch/amd64/elf64_freebsd.c
index 0c26072..c1dbec2 100644
--- a/sys/boot/efi/loader/arch/amd64/elf64_freebsd.c
+++ b/sys/boot/efi/loader/arch/amd64/elf64_freebsd.c
@@ -174,13 +174,6 @@ elf64_exec(struct preloaded_file *fp)
if (err != 0)
return(err);
- status = BS->ExitBootServices(IH, efi_mapkey);
- if (EFI_ERROR(status)) {
- printf("%s: ExitBootServices() returned 0x%lx\n", __func__,
- (long)status);
- return (EINVAL);
- }
-
dev_cleanup();
trampoline(trampstack, efi_copy_finish, kernend, modulep, PT4,
OpenPOWER on IntegriCloud