mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcSupportPkg: drop unused var TimeoutSeconds (in BlessTest)
This commit is contained in:
parent
39d1e2f9c7
commit
29a2733550
@ -53,7 +53,6 @@ TestBless (
|
||||
OC_BOOT_ENTRY *Entries;
|
||||
OC_BOOT_ENTRY *Chosen;
|
||||
UINTN EntryCount;
|
||||
UINT32 TimeoutSeconds;
|
||||
OC_PICKER_CONTEXT PickerContext;
|
||||
|
||||
Print (L"TestBless\n");
|
||||
@ -67,8 +66,6 @@ TestBless (
|
||||
return EFI_NOT_FOUND;
|
||||
}
|
||||
|
||||
TimeoutSeconds = 5;
|
||||
|
||||
ZeroMem (&PickerContext, sizeof (PickerContext));
|
||||
|
||||
while (TRUE) {
|
||||
@ -95,8 +92,6 @@ TestBless (
|
||||
return Status;
|
||||
}
|
||||
|
||||
TimeoutSeconds = 0;
|
||||
|
||||
if (!EFI_ERROR (Status)) {
|
||||
Print (L"Should boot from %s\n", Chosen->Name);
|
||||
gBS->Stall (5000000);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user