]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Driver.c
1. Mark the network volatile variables as deprecated in code comments and remove...
[mirror_edk2.git] / MdeModulePkg / Universal / Network / Udp4Dxe / Udp4Driver.c
index 34e15da4328f0a7d8c27f0216a64fc74d8604a2a..faf9ca5e287cb702e466a0c76750cd6f93d628fc 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 \r
-Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2014, 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
@@ -181,8 +181,6 @@ Udp4DriverBindingStart (
   if (EFI_ERROR (Status)) {\r
     Udp4CleanService (Udp4Service);\r
     FreePool (Udp4Service);\r
-  } else {\r
-    Udp4SetVariableData (Udp4Service);\r
   }\r
 \r
   return Status;\r
@@ -268,9 +266,7 @@ Udp4DriverBindingStop (
            &Udp4Service->ServiceBinding,\r
            NULL\r
            );\r
-\r
-    Udp4ClearVariableData (Udp4Service);\r
-\r
\r
     Udp4CleanService (Udp4Service);\r
 \r
     if (gUdpControllerNameTable != NULL) {\r