efi_loader: fix entry count in bootmgr
[pandora-u-boot.git] / lib / efi_loader / efi_bootmgr.c
index f4b1889..6b68496 100644 (file)
@@ -178,8 +178,6 @@ void *efi_bootmgr_load(struct efi_device_path **device_path,
        void *image = NULL;
        int i, num;
 
-       __efi_entry_check();
-
        bs = systab.boottime;
        rs = systab.runtime;
 
@@ -200,7 +198,5 @@ void *efi_bootmgr_load(struct efi_device_path **device_path,
        free(bootorder);
 
 error:
-       __efi_exit_check();
-
        return image;
 }