]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c
OvmfPkg: BDS: don't overwrite the BDS Front Page timeout
[mirror_edk2.git] / OvmfPkg / Library / PlatformBdsLib / BdsPlatform.c
index 2a1ca88c2c13ed4be225fd2d16b1b509d9e424e3..f2ece66817d54c35041138c4e1714aeca7bcbb7b 100644 (file)
@@ -1144,14 +1144,6 @@ Returns:
   //\r
   TryRunningQemuKernel ();\r
 \r
-  //\r
-  // Give one chance to enter the setup if we\r
-  // have the time out\r
-  //\r
-  if (Timeout != 0) {\r
-    //PlatformBdsEnterFrontPage (Timeout, FALSE);\r
-  }\r
-\r
   DEBUG ((EFI_D_INFO, "BdsLibConnectAll\n"));\r
   BdsLibConnectAll ();\r
   BdsLibEnumerateAllBootOption (BootOptionList);\r
@@ -1201,11 +1193,8 @@ Returns:
     //\r
     // Enter Setup if user input\r
     //\r
-    Timeout = 0xffff;\r
     PlatformBdsEnterFrontPage (Timeout, FALSE);\r
   }\r
-\r
-  return ;\r
 }\r
 \r
 VOID\r