]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Udp6Dxe/Udp6Main.c
1. Mark the network volatile variables as deprecated in code comments and remove...
[mirror_edk2.git] / NetworkPkg / Udp6Dxe / Udp6Main.c
index 0cad5962765a09a84a738f6b76a784390709ef64..f3e99255f953cd6aeee284ed6994739df529143d 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Contains all EFI_UDP6_PROTOCOL interfaces.\r
 \r
-  Copyright (c) 2009 - 2010, 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
@@ -275,7 +275,7 @@ Udp6Configure (
     //\r
     // Cancel all the user tokens.\r
     //\r
-    Status = Instance->Udp6Proto.Cancel (&Instance->Udp6Proto, NULL);\r
+    Instance->Udp6Proto.Cancel (&Instance->Udp6Proto, NULL);\r
 \r
     //\r
     // Remove the buffered RxData for this instance.\r
@@ -284,9 +284,7 @@ Udp6Configure (
 \r
     ASSERT (IsListEmpty (&Instance->DeliveredDgramQue));\r
   }\r
-\r
-  Status = Udp6SetVariableData (Instance->Udp6Service);\r
-\r
\r
 ON_EXIT:\r
 \r
   gBS->RestoreTPL (OldTpl);\r