]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c
MdePkg: Clean up source files
[mirror_edk2.git] / MdePkg / Library / UefiDevicePathLib / DevicePathFromText.c
index 35a73e83ff2181e067a212d2e67f630c809b3b81..c5f3764fc096475de834c76695e4b71bdc45d334 100644 (file)
@@ -279,7 +279,7 @@ IsHexStr (
   while ((*Str != 0) && *Str == L'0') {\r
     Str ++;\r
   }\r
-  \r
+\r
   return (BOOLEAN) (*Str == L'x' || *Str == L'X');\r
 }\r
 \r
@@ -980,7 +980,7 @@ DevPathFromTextAcpiAdr (
       ASSERT (AcpiAdr != NULL);\r
       SetDevicePathNodeLength (AcpiAdr, Length + sizeof (UINT32));\r
     }\r
-    \r
+\r
     (&AcpiAdr->ADR)[Index] = (UINT32) Strtoi (DisplayDeviceStr);\r
   }\r
 \r
@@ -2757,18 +2757,18 @@ DevPathFromTextDns (
   }\r
 \r
   DeviceNodeStrPtr = DeviceNodeStr;\r
-  \r
+\r
   DnsServerIpCount = 0;\r
   while (DeviceNodeStrPtr != NULL && *DeviceNodeStrPtr != L'\0') {\r
     GetNextParamStr (&DeviceNodeStrPtr);\r
-    DnsServerIpCount ++; \r
+    DnsServerIpCount ++;\r
   }\r
 \r
   FreePool (DeviceNodeStr);\r
   DeviceNodeStr = NULL;\r
 \r
   //\r
-  // One or more instances of the DNS server address in EFI_IP_ADDRESS, \r
+  // One or more instances of the DNS server address in EFI_IP_ADDRESS,\r
   // otherwise, NULL will be returned.\r
   //\r
   if (DnsServerIpCount == 0) {\r
@@ -2814,7 +2814,7 @@ DevPathFromTextDns (
       StrToIpv6Address (DnsServerIp, NULL, &(DnsDeviceNode->DnsServerIp[DnsServerIpIndex].v6), NULL);\r
     }\r
   }\r
-  \r
+\r
   return (EFI_DEVICE_PATH_PROTOCOL *) DnsDeviceNode;\r
 }\r
 \r