]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Remove unnecessary TPL operations in BDS module & library.
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 2 Sep 2008 14:57:17 +0000 (14:57 +0000)
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 2 Sep 2008 14:57:17 +0000 (14:57 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5781 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Library/GenericBdsLib/BdsBoot.c

index 30d3a50d906076feba4a713f8d773e76ac6508c6..c3294fa4973da42b0af8fe4696fca9ed331d8b2c 100644 (file)
@@ -190,11 +190,6 @@ BdsLibBootViaBootOption (
     DevicePath = Option->DevicePath;\r
   }\r
 \r
-  //\r
-  // Drop the TPL level from TPL_APPLICATION to TPL_APPLICATION\r
-  //\r
-  gBS->RestoreTPL (TPL_APPLICATION);\r
-\r
   DEBUG ((DEBUG_INFO | DEBUG_LOAD, "Booting %S\n", Option->Description));\r
 \r
   Status = gBS->LoadImage (\r
@@ -285,11 +280,6 @@ Done:
         &Option->BootCurrent\r
         );\r
 \r
-  //\r
-  // Raise the TPL level back to TPL_APPLICATION\r
-  //\r
-  gBS->RaiseTPL (TPL_APPLICATION);\r
-\r
   return Status;\r
 }\r
 \r