]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Dhcp6Dxe/ComponentName.c
NetworkPkg: Clean up source files
[mirror_edk2.git] / NetworkPkg / Dhcp6Dxe / ComponentName.c
index ba612156a09f1001807eff58127731d258799848..9b834167f535cdaf7f1a5ab0d6d1af225f944a0e 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   UEFI Component Name(2) protocol implementation for Dhcp6 driver.\r
 \r
-  Copyright (c) 2009 - 2016, 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
@@ -247,10 +247,10 @@ Dhcp6ComponentNameGetDriverName (
 \r
   @param  Dhcp6[in]                   A pointer to the EFI_DHCP6_PROTOCOL.\r
 \r
-  \r
+\r
   @retval EFI_SUCCESS                 Update the ControllerNameTable of this instance successfully.\r
   @retval EFI_INVALID_PARAMETER       The input parameter is invalid.\r
-  \r
+\r
 **/\r
 EFI_STATUS\r
 UpdateName (\r
@@ -272,12 +272,12 @@ UpdateName (
   if (EFI_ERROR (Status)) {\r
     return Status;\r
   }\r
-  \r
+\r
   if (gDhcp6ControllerNameTable != NULL) {\r
     FreeUnicodeStringTable (gDhcp6ControllerNameTable);\r
     gDhcp6ControllerNameTable = NULL;\r
   }\r
-  \r
+\r
   if (Dhcp6ModeData.Ia == NULL) {\r
     HandleName = L"DHCPv6 (No configured IA)";\r
   } else {\r
@@ -304,7 +304,7 @@ UpdateName (
   if (EFI_ERROR (Status)) {\r
     return Status;\r
   }\r
-  \r
+\r
   return AddUnicodeString2 (\r
            "en",\r
            gDhcp6ComponentName2.SupportedLanguages,\r
@@ -401,13 +401,13 @@ Dhcp6ComponentNameGetControllerName (
   if (ChildHandle == NULL) {\r
     return EFI_UNSUPPORTED;\r
   }\r
-  \r
-  // \r
-  // Make sure this driver produced ChildHandle \r
-  // \r
+\r
+  //\r
+  // Make sure this driver produced ChildHandle\r
+  //\r
   Status = EfiTestChildHandle (\r
              ControllerHandle,\r
-             ChildHandle, \r
+             ChildHandle,\r
              &gEfiUdp6ProtocolGuid\r
              );\r
   if (EFI_ERROR (Status)) {\r
@@ -420,7 +420,7 @@ Dhcp6ComponentNameGetControllerName (
   Status = gBS->OpenProtocol (\r
                   ChildHandle,\r
                   &gEfiDhcp6ProtocolGuid,\r
-                  (VOID **)&Dhcp6, \r
+                  (VOID **)&Dhcp6,\r
                   NULL,\r
                   NULL,\r
                   EFI_OPEN_PROTOCOL_GET_PROTOCOL\r