]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/TcpDxe/TcpDriver.c
1. Mark the network volatile variables as deprecated in code comments and remove...
[mirror_edk2.git] / NetworkPkg / TcpDxe / TcpDriver.c
index 1f0d3716542c422e4cd62468f24bc0e49b6d5270..ce3dd0be634d71aead735ba31e03628424991104 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   The driver binding and service binding protocol for the TCP driver.\r
 \r
-  Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -349,8 +349,6 @@ TcpCreateService (
     goto ON_ERROR;\r
   }\r
 \r
-  TcpSetVariableData (TcpServiceData);\r
-\r
   return EFI_SUCCESS;\r
 \r
 ON_ERROR:\r
@@ -499,11 +497,6 @@ TcpDestroyService (
     //\r
     TcpDestroyTimer ();\r
 \r
-    //\r
-    // Clear the variable.\r
-    //\r
-    TcpClearVariableData (TcpServiceData);\r
-\r
     //\r
     // Release the TCP service data\r
     //\r