/* Callback function which provided by user to remove one node in NetDestroyLinkList process. */
EFI_STATUS EFIAPI Dhcp6DestroyChildEntry(IN LIST_ENTRY *Entry, IN VOID *Context)
/* Callback function which provided by user to remove one node in NetDestroyLinkList process. */
EFI_STATUS EFIAPI Dhcp6DestroyChildEntry(IN LIST_ENTRY *Entry, IN VOID *Context)
{
  DHCP6_INSTANCE                *Instance;
  EFI_SERVICE_BINDING_PROTOCOL  *ServiceBinding;
  if ((Entry == NULL) || (Context == NULL)) {
    return EFI_INVALID_PARAMETER;
  }
  Instance       = NET_LIST_USER_STRUCT_S (Entry, DHCP6_INSTANCE, Link, DHCP6_INSTANCE_SIGNATURE);
  ServiceBinding = (EFI_SERVICE_BINDING_PROTOCOL *)Context;
  return ServiceBinding->DestroyChild (ServiceBinding, Instance->Handle);
}