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; }