/** @file\r
Driver Binding functions and Service Binding functions for the Network driver module.\r
\r
- Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2016, 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
if (EFI_ERROR (Status)) {\r
Udp6CleanService (Udp6Service);\r
goto EXIT;\r
- } else {\r
- Status = Udp6SetVariableData (Udp6Service);\r
}\r
\r
EXIT:\r
&Udp6Service->ServiceBinding,\r
NULL\r
);\r
-\r
- Udp6ClearVariableData (Udp6Service);\r
-\r
+ \r
Udp6CleanService (Udp6Service);\r
\r
FreePool (Udp6Service);\r
\r
@retval EFI_SUCCES The protocol was added to ChildHandle.\r
@retval EFI_INVALID_PARAMETER This is NULL or ChildHandle is NULL.\r
- @retval EFI_OUT_OF_RESOURCES There are not enough resources availabe to create\r
+ @retval EFI_OUT_OF_RESOURCES There are not enough resources available to create\r
the child.\r
@retval other The child handle was not created.\r
\r