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/TcpDxe/SockInterface.c | |
parent | 9095d37b8fe5bfc3d02adad6ba7fd7359ebc0107 (diff) | |
download | edk2-f75a7f568e6d0944327970b3f3f2dafd9bba76b1.zip edk2-f75a7f568e6d0944327970b3f3f2dafd9bba76b1.tar.gz edk2-f75a7f568e6d0944327970b3f3f2dafd9bba76b1.tar.bz2 |
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/TcpDxe/SockInterface.c')
-rw-r--r-- | NetworkPkg/TcpDxe/SockInterface.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/NetworkPkg/TcpDxe/SockInterface.c b/NetworkPkg/TcpDxe/SockInterface.c index 0dfc0a7..0a3c078 100644 --- a/NetworkPkg/TcpDxe/SockInterface.c +++ b/NetworkPkg/TcpDxe/SockInterface.c @@ -1,7 +1,7 @@ /** @file
Interface function of the Socket.
- Copyright (c) 2009 - 2017, 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
@@ -985,7 +985,7 @@ EFI_STATUS SockCancel (
IN OUT SOCKET *Sock,
IN VOID *Token
- )
+ )
{
EFI_STATUS Status;
@@ -1008,7 +1008,7 @@ SockCancel ( Status = EFI_NOT_STARTED;
goto Exit;
}
-
+
//
// 1. Check ConnectionToken.
//
@@ -1039,7 +1039,7 @@ SockCancel ( if (Token != NULL && !EFI_ERROR (Status)) {
goto Exit;
}
-
+
//
// 4. Check SndTokenList.
//
@@ -1052,7 +1052,7 @@ SockCancel ( // 5. Check ProcessingSndTokenList.
//
Status = SockCancelToken (Token, &Sock->ProcessingSndTokenList);
-
+
Exit:
EfiReleaseLock (&(Sock->Lock));
return Status;
|