]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Dhcp6Dxe/Dhcp6Driver.c
NetworkPkg: Move Network library and drivers from MdeModulePkg to NetworkPkg
[mirror_edk2.git] / NetworkPkg / Dhcp6Dxe / Dhcp6Driver.c
index de53a1a9b4125c6723af85e163a1dd669c28eb46..2ffdba73a563f6e409f73de9c0139a84e1fdb5a6 100644 (file)
@@ -2,15 +2,9 @@
   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
-  which accompanies this distribution.  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php.\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -328,7 +322,7 @@ Dhcp6CreateInstance (
 \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
@@ -352,7 +346,7 @@ Dhcp6DestroyChildEntry (
 \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
@@ -558,7 +552,7 @@ Dhcp6DriverBindingStop (
   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
@@ -591,7 +585,7 @@ Dhcp6DriverBindingStop (
     Dhcp6DestroyService (Service);\r
     Status = EFI_SUCCESS;\r
   }\r
-  \r
+\r
 ON_EXIT:\r
   return Status;\r
 }\r