From d551cc64cdf1f943744294819220b78a60b10822 Mon Sep 17 00:00:00 2001 From: Fu Siyuan Date: Wed, 7 May 2014 06:17:31 +0000 Subject: 1. Mark the network volatile variables as deprecated in code comments and remove related code to set/get these variable. 2. Remove the GetTime() call when receiving Udp4/6 packets. Signed-off-by: Fu Siyuan Reviewed-by: Ye, Ting Reviewed-by: Wu, Jiaxin Contributed-under: TianoCore Contribution Agreement 1.0 git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15497 6f19259b-4bc3-4df7-8a09-765794883524 --- NetworkPkg/Udp6Dxe/Udp6Driver.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'NetworkPkg/Udp6Dxe/Udp6Driver.c') diff --git a/NetworkPkg/Udp6Dxe/Udp6Driver.c b/NetworkPkg/Udp6Dxe/Udp6Driver.c index 1c2c33336e..da2093962a 100644 --- a/NetworkPkg/Udp6Dxe/Udp6Driver.c +++ b/NetworkPkg/Udp6Dxe/Udp6Driver.c @@ -1,7 +1,7 @@ /** @file Driver Binding functions and Service Binding functions for the Network driver module. - Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -165,8 +165,6 @@ Udp6DriverBindingStart ( if (EFI_ERROR (Status)) { Udp6CleanService (Udp6Service); goto EXIT; - } else { - Status = Udp6SetVariableData (Udp6Service); } EXIT: @@ -298,9 +296,7 @@ Udp6DriverBindingStop ( &Udp6Service->ServiceBinding, NULL ); - - Udp6ClearVariableData (Udp6Service); - + Udp6CleanService (Udp6Service); FreePool (Udp6Service); -- cgit v1.2.3