From cfb0fad6c14fc6b0d7068d6024afccc1107fb565 Mon Sep 17 00:00:00 2001 From: xli24 Date: Tue, 2 Sep 2008 14:57:17 +0000 Subject: [PATCH] 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 --- MdeModulePkg/Library/GenericBdsLib/BdsBoot.c | 10 ---------- 1 file changed, 10 deletions(-) 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; } -- 2.39.2