]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/DriverBinding.c
Ax88772: Add logic to separate packet, fix MTU issue. Ax88772b: Fix driver model...
[mirror_edk2.git] / OptionRomPkg / Bus / Usb / UsbNetworking / Ax88772 / DriverBinding.c
index 794b87e7f341227ed8d736f709766909bbac4f90..a04abee3cd4bc7772220c3b286ba114cdf63db91 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Implement the driver binding protocol for Asix AX88772 Ethernet driver.\r
 \r
-  Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2011-2013, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -481,23 +481,10 @@ EntryPoint (
   IN EFI_SYSTEM_TABLE * pSystemTable\r
   )\r
 {\r
-  EFI_LOADED_IMAGE_PROTOCOL * pLoadedImage;\r
   EFI_STATUS    Status;\r
 \r
   DBG_ENTER ( );\r
 \r
-  //\r
-  //  Enable unload support\r
-  //\r
-  Status = gBS->HandleProtocol (\r
-                  gImageHandle,\r
-                  &gEfiLoadedImageProtocolGuid,\r
-                  (VOID **)&pLoadedImage\r
-                  );\r
-  if (!EFI_ERROR (Status)) {\r
-    pLoadedImage->Unload = DriverUnload;\r
-  }\r
-\r
   //\r
   //  Add the driver to the list of drivers\r
   //\r