]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/DnsDxe/ComponentName.c
NetworkPkg: Clean up source files
[mirror_edk2.git] / NetworkPkg / DnsDxe / ComponentName.c
index d976bc684984fe958284d6627a4a90a19a4c8856..cd4eea6a8bb7d9cbc14f5a1a44c72fee9d3525fd 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
 Implementation of EFI_COMPONENT_NAME_PROTOCOL and EFI_COMPONENT_NAME2_PROTOCOL protocol.\r
 \r
-Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>\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
@@ -101,7 +101,7 @@ DnsComponentNameGetControllerName (
 ///\r
 /// Component Name Protocol instance\r
 ///\r
-GLOBAL_REMOVE_IF_UNREFERENCED \r
+GLOBAL_REMOVE_IF_UNREFERENCED\r
 EFI_COMPONENT_NAME_PROTOCOL  gDnsComponentName = {\r
   DnsComponentNameGetDriverName,\r
   DnsComponentNameGetControllerName,\r
@@ -111,7 +111,7 @@ EFI_COMPONENT_NAME_PROTOCOL  gDnsComponentName = {
 ///\r
 /// Component Name 2 Protocol instance\r
 ///\r
-GLOBAL_REMOVE_IF_UNREFERENCED \r
+GLOBAL_REMOVE_IF_UNREFERENCED\r
 EFI_COMPONENT_NAME2_PROTOCOL  gDnsComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME)     DnsComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) DnsComponentNameGetControllerName,\r
@@ -121,7 +121,7 @@ EFI_COMPONENT_NAME2_PROTOCOL  gDnsComponentName2 = {
 ///\r
 /// Table of driver names\r
 ///\r
-GLOBAL_REMOVE_IF_UNREFERENCED \r
+GLOBAL_REMOVE_IF_UNREFERENCED\r
 EFI_UNICODE_STRING_TABLE mDnsDriverNameTable[] = {\r
   { "eng;en", (CHAR16 *)L"DNS Network Service Driver" },\r
   { NULL, NULL }\r
@@ -173,10 +173,10 @@ DnsComponentNameGetDriverName (
 \r
   @param  Dns4                       A pointer to the EFI_DNS4_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
 UpdateDns4Name (\r
@@ -190,7 +190,7 @@ UpdateDns4Name (
   if (Dns4 == NULL) {\r
     return EFI_INVALID_PARAMETER;\r
   }\r
-  \r
+\r
   //\r
   // Format the child name into the string buffer as:\r
   // DNSv4 (StationIp=?, LocalPort=?)\r
@@ -199,7 +199,7 @@ UpdateDns4Name (
   if (EFI_ERROR (Status)) {\r
     return Status;\r
   }\r
-  \r
+\r
   UnicodeSPrint (\r
     HandleName,\r
     sizeof (HandleName),\r
@@ -222,7 +222,7 @@ UpdateDns4Name (
     FreeUnicodeStringTable (gDnsControllerNameTable);\r
     gDnsControllerNameTable = NULL;\r
   }\r
-  \r
+\r
   Status = AddUnicodeString2 (\r
              "eng",\r
              gDnsComponentName.SupportedLanguages,\r
@@ -233,7 +233,7 @@ UpdateDns4Name (
   if (EFI_ERROR (Status)) {\r
     return Status;\r
   }\r
-  \r
+\r
   return AddUnicodeString2 (\r
            "en",\r
            gDnsComponentName2.SupportedLanguages,\r
@@ -248,10 +248,10 @@ UpdateDns4Name (
 \r
   @param  Dns6                       A pointer to the EFI_DNS6_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
 UpdateDns6Name (\r
@@ -266,7 +266,7 @@ UpdateDns6Name (
   if (Dns6 == NULL) {\r
     return EFI_INVALID_PARAMETER;\r
   }\r
-  \r
+\r
   //\r
   // Format the child name into the string buffer as:\r
   // DNSv6 (StationIp=?, LocalPort=?)\r
@@ -282,7 +282,7 @@ UpdateDns6Name (
   }\r
   UnicodeSPrint (\r
     HandleName,\r
-    sizeof (HandleName), \r
+    sizeof (HandleName),\r
     L"DNSv6 (StationIp=%s, LocalPort=%d)",\r
     Address,\r
     ModeData.DnsConfigData.LocalPort\r
@@ -299,7 +299,7 @@ UpdateDns6Name (
     FreeUnicodeStringTable (gDnsControllerNameTable);\r
     gDnsControllerNameTable = NULL;\r
   }\r
-  \r
+\r
   Status = AddUnicodeString2 (\r
              "eng",\r
              gDnsComponentName.SupportedLanguages,\r
@@ -310,7 +310,7 @@ UpdateDns6Name (
   if (EFI_ERROR (Status)) {\r
     return Status;\r
   }\r
-  \r
+\r
   return AddUnicodeString2 (\r
            "en",\r
            gDnsComponentName2.SupportedLanguages,\r
@@ -373,7 +373,7 @@ DnsComponentNameGetControllerName (
   EFI_STATUS                    Status;\r
   EFI_DNS4_PROTOCOL             *Dns4;\r
   EFI_DNS6_PROTOCOL             *Dns6;\r
-  \r
+\r
   //\r
   // ChildHandle must be NULL for a Device Driver\r
   //\r