Driver Binding functions and Service Binding functions\r
implementationfor for Dhcp6 Driver.\r
\r
- Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2018, 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
\r
/**\r
Callback function which provided by user to remove one node in NetDestroyLinkList process.\r
- \r
+\r
@param[in] Entry The entry to be removed.\r
@param[in] Context Pointer to the callback context corresponds to the Context in NetDestroyLinkList.\r
\r
\r
Instance = NET_LIST_USER_STRUCT_S (Entry, DHCP6_INSTANCE, Link, DHCP6_INSTANCE_SIGNATURE);\r
ServiceBinding = (EFI_SERVICE_BINDING_PROTOCOL *) Context;\r
- \r
+\r
return ServiceBinding->DestroyChild (ServiceBinding, Instance->Handle);\r
}\r
\r
if (!IsListEmpty (&Service->Child)) {\r
//\r
// Destroy all the children instances before destory the service.\r
- // \r
+ //\r
List = &Service->Child;\r
Status = NetDestroyLinkList (\r
List,\r
Dhcp6DestroyService (Service);\r
Status = EFI_SUCCESS;\r
}\r
- \r
+\r
ON_EXIT:\r
return Status;\r
}\r