diff options
Diffstat (limited to 'MdeModulePkg/Universal/Network/PxeBcDxe/Bc.c')
-rw-r--r-- | MdeModulePkg/Universal/Network/PxeBcDxe/Bc.c | 14 |
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
//
|