]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Driver.c
1. Mark the network volatile variables as deprecated in code comments and remove...
[mirror_edk2.git] / MdeModulePkg / Universal / Network / Tcp4Dxe / Tcp4Driver.c
index 29a0cf76c21b8195dfcf3571bd8246186f7d1df5..30e9406161c0187f3e60203a4becad18878593e1 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Tcp driver function.\r
 \r
-Copyright (c) 2005 - 2013, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2005 - 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
@@ -418,8 +418,6 @@ Tcp4DriverBindingStart (
 \r
   InitializeListHead (&TcpServiceData->SocketList);\r
 \r
-  TcpSetVariableData (TcpServiceData);\r
-\r
   return EFI_SUCCESS;\r
 \r
 ON_ERROR:\r
@@ -539,11 +537,6 @@ Tcp4DriverBindingStop (
     //\r
     Tcp4DestroyTimer ();\r
 \r
-    //\r
-    // Clear the variable.\r
-    //\r
-    TcpClearVariableData (TcpServiceData);\r
-\r
     if (gTcpControllerNameTable != NULL) {\r
       FreeUnicodeStringTable (gTcpControllerNameTable);\r
       gTcpControllerNameTable = NULL;\r