1. clean up codes.
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 24 Aug 2007 03:01:38 +0000 (03:01 +0000)
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 24 Aug 2007 03:01:38 +0000 (03:01 +0000)
2. fixed a porting issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3702 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Universal/Network/ArpDxe/ArpDriver.c
MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Impl.c
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Driver.c

index 2c10857..6a52ed1 100644 (file)
@@ -723,7 +723,6 @@ ArpServiceBindingDestroyChild (
   return Status;\r
 }\r
 \r
-//@MT: EFI_DRIVER_ENTRY_POINT (ArpDriverEntryPoint)\r
 \r
 EFI_STATUS\r
 EFIAPI\r
index 3595e78..d9ee322 100644 (file)
@@ -161,7 +161,7 @@ DhcpCopyConfigure (
   INTN                      Len;\r
   UINT32                    Index;\r
 \r
-  CopyMem (Dst, Src, sizeof (Dst));\r
+  CopyMem (Dst, Src, sizeof (*Dst));\r
   Dst->DiscoverTimeout  = NULL;\r
   Dst->RequestTimeout   = NULL;\r
   Dst->OptionList       = NULL;\r
index eec6d69..cc9bbf6 100644 (file)
@@ -31,8 +31,6 @@ EFI_DRIVER_BINDING_PROTOCOL gIp4DriverBinding = {
   NULL\r
 };\r
 \r
-//@MT: EFI_DRIVER_ENTRY_POINT (Ip4DriverEntryPoint)\r
-\r
 EFI_STATUS\r
 EFIAPI\r
 Ip4DriverEntryPoint (\r