From: xli24 Date: Tue, 2 Sep 2008 14:57:17 +0000 (+0000) Subject: Remove unnecessary TPL operations in BDS module & library. X-Git-Tag: edk2-stable201903~20439 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=cfb0fad6c14fc6b0d7068d6024afccc1107fb565 Remove unnecessary TPL operations in BDS module & library. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5781 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdeModulePkg/Library/GenericBdsLib/BdsBoot.c b/MdeModulePkg/Library/GenericBdsLib/BdsBoot.c index 30d3a50d90..c3294fa497 100644 --- a/MdeModulePkg/Library/GenericBdsLib/BdsBoot.c +++ b/MdeModulePkg/Library/GenericBdsLib/BdsBoot.c @@ -190,11 +190,6 @@ BdsLibBootViaBootOption ( DevicePath = Option->DevicePath; } - // - // Drop the TPL level from TPL_APPLICATION to TPL_APPLICATION - // - gBS->RestoreTPL (TPL_APPLICATION); - DEBUG ((DEBUG_INFO | DEBUG_LOAD, "Booting %S\n", Option->Description)); Status = gBS->LoadImage ( @@ -285,11 +280,6 @@ Done: &Option->BootCurrent ); - // - // Raise the TPL level back to TPL_APPLICATION - // - gBS->RaiseTPL (TPL_APPLICATION); - return Status; }