diff options
author | Liming Gao <liming.gao@intel.com> | 2018-06-27 21:12:32 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-06-28 11:19:49 +0800 |
commit | f75a7f568e6d0944327970b3f3f2dafd9bba76b1 (patch) | |
tree | cc64f0e24e92dab5713bf2099f7e1f4fc5152ff6 /NetworkPkg/Dhcp6Dxe/Dhcp6Io.c | |
parent | 9095d37b8fe5bfc3d02adad6ba7fd7359ebc0107 (diff) | |
download | edk2-f75a7f568e6d0944327970b3f3f2dafd9bba76b1.tar.gz edk2-f75a7f568e6d0944327970b3f3f2dafd9bba76b1.tar.bz2 edk2-f75a7f568e6d0944327970b3f3f2dafd9bba76b1.zip |
NetworkPkg: Clean up source files
1. Do not use tab characters
2. No trailing white space in one line
3. All files must end with CRLF
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'NetworkPkg/Dhcp6Dxe/Dhcp6Io.c')
-rw-r--r-- | NetworkPkg/Dhcp6Dxe/Dhcp6Io.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/NetworkPkg/Dhcp6Dxe/Dhcp6Io.c b/NetworkPkg/Dhcp6Dxe/Dhcp6Io.c index 5cdeac6d5c..5ad2ac38bf 100644 --- a/NetworkPkg/Dhcp6Dxe/Dhcp6Io.c +++ b/NetworkPkg/Dhcp6Dxe/Dhcp6Io.c @@ -2,7 +2,7 @@ Dhcp6 internal functions implementation.
(C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>
- Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -372,7 +372,7 @@ Dhcp6CleanupRetry ( @retval TRUE The control block is in Instance's retry list.
@retval FALSE The control block is NOT in Instance's retry list.
-
+
**/
BOOLEAN
Dhcp6IsValidTxCb (
@@ -1767,12 +1767,12 @@ Dhcp6StartInfoRequest ( if (EFI_ERROR (Status) && (Status != EFI_ALREADY_STARTED)) {
goto ON_ERROR;
}
-
+
gBS->RestoreTPL (OldTpl);
return EFI_SUCCESS;
-
+
ON_ERROR:
- gBS->RestoreTPL (OldTpl);
+ gBS->RestoreTPL (OldTpl);
RemoveEntryList (&InfCb->Link);
FreePool (InfCb);
@@ -1896,7 +1896,7 @@ Dhcp6SendInfoRequestMsg ( //
Packet->Length += (UINT32) (Cursor - Packet->Dhcp6.Option);
ASSERT (Packet->Size > Packet->Length + 8);
-
+
//
// Clear initial time for current transaction.
//
@@ -2232,15 +2232,15 @@ Dhcp6HandleReplyMsg ( }
} else if (Status == EFI_NOT_FOUND) {
//
- // Refer to RFC3315 Chapter 18.1.8, for each IA in the original Renew or Rebind message,
+ // Refer to RFC3315 Chapter 18.1.8, for each IA in the original Renew or Rebind message,
// the client sends a Renew or Rebind if the IA is not in the Reply message.
// Return EFI_SUCCESS so we can continue to restart the Renew/Rebind process.
//
return EFI_SUCCESS;
}
-
+
goto ON_EXIT;
-
+
} else if (Option != NULL) {
//
// Any error status code option is found.
@@ -2289,7 +2289,7 @@ Dhcp6HandleReplyMsg ( case Dhcp6StsNoBinding:
if (Instance->IaCb.Ia->State == Dhcp6Renewing || Instance->IaCb.Ia->State == Dhcp6Rebinding) {
//
- // Refer to RFC3315 Chapter 18.1.8, for each IA in the original Renew or Rebind message, the client
+ // Refer to RFC3315 Chapter 18.1.8, for each IA in the original Renew or Rebind message, the client
// sends a Request message if the IA contained a Status Code option with the NoBinding status.
//
Status = Dhcp6SendRequestMsg(Instance);
@@ -2308,7 +2308,7 @@ Dhcp6HandleReplyMsg ( }
return EFI_SUCCESS;
-
+
ON_EXIT:
if (!EFI_ERROR(Status)) {
@@ -2318,7 +2318,7 @@ ON_EXIT: FALSE
);
}
-
+
return Status;
}
|