summaryrefslogtreecommitdiff
path: root/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/DriverBinding.c
diff options
context:
space:
mode:
Diffstat (limited to 'OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/DriverBinding.c')
-rw-r--r--OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/DriverBinding.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/DriverBinding.c b/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/DriverBinding.c
index 794b87e7f3..a04abee3cd 100644
--- a/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/DriverBinding.c
+++ b/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/DriverBinding.c
@@ -1,7 +1,7 @@
/** @file
Implement the driver binding protocol for Asix AX88772 Ethernet driver.
- Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2011-2013, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -481,24 +481,11 @@ EntryPoint (
IN EFI_SYSTEM_TABLE * pSystemTable
)
{
- EFI_LOADED_IMAGE_PROTOCOL * pLoadedImage;
EFI_STATUS Status;
DBG_ENTER ( );
//
- // Enable unload support
- //
- Status = gBS->HandleProtocol (
- gImageHandle,
- &gEfiLoadedImageProtocolGuid,
- (VOID **)&pLoadedImage
- );
- if (!EFI_ERROR (Status)) {
- pLoadedImage->Unload = DriverUnload;
- }
-
- //
// Add the driver to the list of drivers
//
Status = EfiLibInstallDriverBindingComponentName2 (