summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.c
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2007-11-13 09:08:17 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2007-11-13 09:08:17 +0000
commit41057d7787037c9f103046251cfe9bf80dd027f6 (patch)
treed282f8003f4295d13a7966e4ef5f53797bb0890a /MdeModulePkg/Universal/Network/PxeBcDxe/Bc.c
parentcfe9de52447337bd470bd831080f5671ed979fe6 (diff)
downloadedk2-platforms-41057d7787037c9f103046251cfe9bf80dd027f6.tar.xz
Remove gEfiNetworkInterfaceIdentifierProtocolGuid reference from code base. Only left its definition in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4295 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Network/PxeBcDxe/Bc.c')
-rw-r--r--MdeModulePkg/Universal/Network/PxeBcDxe/Bc.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.c b/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.c
index 63d11d2fe1..a59f189f92 100644
--- a/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.c
+++ b/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.c
@@ -2172,19 +2172,9 @@ PxeBcDriverStart (
);
if (EFI_ERROR (Status)) {
- Status = gBS->OpenProtocol (
- Controller,
- &gEfiNetworkInterfaceIdentifierProtocolGuid,
- (VOID **) &Private->NiiPtr,
- This->DriverBindingHandle,
- Controller,
- EFI_OPEN_PROTOCOL_GET_PROTOCOL
- );
-
- if (EFI_ERROR (Status)) {
- goto PxeBcError;
- }
+ goto PxeBcError;
}
+
//
// Get the Snp interface
//