Browse Source

efi_loader: fix efi_exit

efi_exit() already restores gd, so we shouldn't EFI_EXIT() on the
otherside of the longjmp().

Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Rob Clark 6 years ago
parent
commit
7dd5d44753
1 changed files with 0 additions and 1 deletions
  1. 0 1
      cmd/bootefi.c

+ 0 - 1
cmd/bootefi.c

@@ -190,7 +190,6 @@ static unsigned long do_bootefi_exec(void *efi, void *fdt,
 
 	if (setjmp(&loaded_image_info.exit_jmp)) {
 		ret = loaded_image_info.exit_status;
-		EFI_EXIT(ret);
 		goto exit;
 	}