]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/Hand/Handle.c
Remove the global variable of gDxeCoreBS and uses the gBS in UefiBootServicesTableLib...
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / Hand / Handle.c
index 99c265996ead8420d8d65431d87053586b8afa22..d94fdde720a5d2b6da071cf588111dde7bffcafe 100644 (file)
@@ -370,8 +370,6 @@ CoreInstallProtocolInterfaceNotify (
   Prot = NULL;\r
   Handle = NULL;\r
 \r
-  ASSERT (gDxeCoreBS != NULL);\r
-\r
   if (*UserHandle != NULL_HANDLE) {\r
     Status = CoreHandleProtocol (*UserHandle, Protocol, (VOID **)&ExistingInterface);\r
     if (!EFI_ERROR (Status)) {\r