Remove the global variable of gDxeCoreBS and uses the gBS in UefiBootServicesTableLib for DXE Core.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5697 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8
2008-08-20 09:41:53 +00:00
parent dd1245006f
commit 0e9b156ddc
6 changed files with 8 additions and 10 deletions

View File

@@ -370,8 +370,6 @@ CoreInstallProtocolInterfaceNotify (
Prot = NULL;
Handle = NULL;
ASSERT (gDxeCoreBS != NULL);
if (*UserHandle != NULL_HANDLE) {
Status = CoreHandleProtocol (*UserHandle, Protocol, (VOID **)&ExistingInterface);
if (!EFI_ERROR (Status)) {