summaryrefslogtreecommitdiff
path: root/NetworkPkg/TcpDxe/TcpDriver.c
diff options
context:
space:
mode:
Diffstat (limited to 'NetworkPkg/TcpDxe/TcpDriver.c')
-rw-r--r--NetworkPkg/TcpDxe/TcpDriver.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/NetworkPkg/TcpDxe/TcpDriver.c b/NetworkPkg/TcpDxe/TcpDriver.c
index 1f0d371..ce3dd0b 100644
--- a/NetworkPkg/TcpDxe/TcpDriver.c
+++ b/NetworkPkg/TcpDxe/TcpDriver.c
@@ -1,7 +1,7 @@
/** @file
The driver binding and service binding protocol for the TCP driver.
- Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -349,8 +349,6 @@ TcpCreateService (
goto ON_ERROR;
}
- TcpSetVariableData (TcpServiceData);
-
return EFI_SUCCESS;
ON_ERROR:
@@ -500,11 +498,6 @@ TcpDestroyService (
TcpDestroyTimer ();
//
- // Clear the variable.
- //
- TcpClearVariableData (TcpServiceData);
-
- //
// Release the TCP service data
//
FreePool (TcpServiceData);