]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Dhcp6Dxe/Dhcp6Io.c
NetworkPkg: Clean up source files
[mirror_edk2.git] / NetworkPkg / Dhcp6Dxe / Dhcp6Io.c
index 5cdeac6d5cfe30bfbe67e1e685323c185361a76e..5ad2ac38bf89376bb716d8084d53470c1386b6ed 100644 (file)
@@ -2,7 +2,7 @@
   Dhcp6 internal functions implementation.\r
 \r
   (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>\r
   Dhcp6 internal functions implementation.\r
 \r
   (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>\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
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -372,7 +372,7 @@ Dhcp6CleanupRetry (
 \r
   @retval   TRUE      The control block is in Instance's retry list.\r
   @retval   FALSE     The control block is NOT in Instance's retry list.\r
 \r
   @retval   TRUE      The control block is in Instance's retry list.\r
   @retval   FALSE     The control block is NOT in Instance's retry list.\r
-  \r
+\r
 **/\r
 BOOLEAN\r
 Dhcp6IsValidTxCb (\r
 **/\r
 BOOLEAN\r
 Dhcp6IsValidTxCb (\r
@@ -1767,12 +1767,12 @@ Dhcp6StartInfoRequest (
   if (EFI_ERROR (Status) && (Status != EFI_ALREADY_STARTED)) {\r
     goto ON_ERROR;\r
   }\r
   if (EFI_ERROR (Status) && (Status != EFI_ALREADY_STARTED)) {\r
     goto ON_ERROR;\r
   }\r
-  \r
+\r
   gBS->RestoreTPL (OldTpl);\r
   return EFI_SUCCESS;\r
   gBS->RestoreTPL (OldTpl);\r
   return EFI_SUCCESS;\r
-  \r
+\r
 ON_ERROR:\r
 ON_ERROR:\r
-  gBS->RestoreTPL (OldTpl); \r
+  gBS->RestoreTPL (OldTpl);\r
   RemoveEntryList (&InfCb->Link);\r
   FreePool (InfCb);\r
 \r
   RemoveEntryList (&InfCb->Link);\r
   FreePool (InfCb);\r
 \r
@@ -1896,7 +1896,7 @@ Dhcp6SendInfoRequestMsg (
   //\r
   Packet->Length += (UINT32) (Cursor - Packet->Dhcp6.Option);\r
   ASSERT (Packet->Size > Packet->Length + 8);\r
   //\r
   Packet->Length += (UINT32) (Cursor - Packet->Dhcp6.Option);\r
   ASSERT (Packet->Size > Packet->Length + 8);\r
-  \r
+\r
   //\r
   // Clear initial time for current transaction.\r
   //\r
   //\r
   // Clear initial time for current transaction.\r
   //\r
@@ -2232,15 +2232,15 @@ Dhcp6HandleReplyMsg (
       }\r
     } else if (Status == EFI_NOT_FOUND) {\r
       //\r
       }\r
     } else if (Status == EFI_NOT_FOUND) {\r
       //\r
-      // Refer to RFC3315 Chapter 18.1.8, for each IA in the original Renew or Rebind message, \r
+      // Refer to RFC3315 Chapter 18.1.8, for each IA in the original Renew or Rebind message,\r
       // the client sends a Renew or Rebind if the IA is not in the Reply message.\r
       // Return EFI_SUCCESS so we can continue to restart the Renew/Rebind process.\r
       //\r
       return EFI_SUCCESS;\r
     }\r
       // the client sends a Renew or Rebind if the IA is not in the Reply message.\r
       // Return EFI_SUCCESS so we can continue to restart the Renew/Rebind process.\r
       //\r
       return EFI_SUCCESS;\r
     }\r
-    \r
+\r
     goto ON_EXIT;\r
     goto ON_EXIT;\r
-    \r
+\r
   } else if (Option != NULL) {\r
     //\r
     // Any error status code option is found.\r
   } else if (Option != NULL) {\r
     //\r
     // Any error status code option is found.\r
@@ -2289,7 +2289,7 @@ Dhcp6HandleReplyMsg (
     case Dhcp6StsNoBinding:\r
       if (Instance->IaCb.Ia->State == Dhcp6Renewing || Instance->IaCb.Ia->State == Dhcp6Rebinding) {\r
         //\r
     case Dhcp6StsNoBinding:\r
       if (Instance->IaCb.Ia->State == Dhcp6Renewing || Instance->IaCb.Ia->State == Dhcp6Rebinding) {\r
         //\r
-        // Refer to RFC3315 Chapter 18.1.8, for each IA in the original Renew or Rebind message, the client \r
+        // Refer to RFC3315 Chapter 18.1.8, for each IA in the original Renew or Rebind message, the client\r
         // sends a Request message if the IA contained a Status Code option with the NoBinding status.\r
         //\r
         Status = Dhcp6SendRequestMsg(Instance);\r
         // sends a Request message if the IA contained a Status Code option with the NoBinding status.\r
         //\r
         Status = Dhcp6SendRequestMsg(Instance);\r
@@ -2308,7 +2308,7 @@ Dhcp6HandleReplyMsg (
   }\r
 \r
   return EFI_SUCCESS;\r
   }\r
 \r
   return EFI_SUCCESS;\r
-  \r
+\r
 ON_EXIT:\r
 \r
   if (!EFI_ERROR(Status)) {\r
 ON_EXIT:\r
 \r
   if (!EFI_ERROR(Status)) {\r
@@ -2318,7 +2318,7 @@ ON_EXIT:
                FALSE\r
                );\r
   }\r
                FALSE\r
                );\r
   }\r
-  \r
+\r
   return Status;\r
 }\r
 \r
   return Status;\r
 }\r
 \r