]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/TcpDxe/SockImpl.c
NetworkPkg: Clean up source files
[mirror_edk2.git] / NetworkPkg / TcpDxe / SockImpl.c
index c5fb1762551d88e4ab480c89df5e1de1e5f47cf3..f68044f813b008a29076b61e3ef9cff44704f01e 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Implementation of the Socket.\r
 \r
-  Copyright (c) 2009 - 2017, 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
@@ -577,13 +577,13 @@ SockWakeRcvToken (
 /**\r
   Cancel the tokens in the specific token list.\r
 \r
-  @param[in]       Token                 Pointer to the Token. If NULL, all tokens \r
-                                         in SpecifiedTokenList will be canceled.  \r
+  @param[in]       Token                 Pointer to the Token. If NULL, all tokens\r
+                                         in SpecifiedTokenList will be canceled.\r
   @param[in, out]  SpecifiedTokenList    Pointer to the token list to be checked.\r
-  \r
+\r
   @retval EFI_SUCCESS          Cancel the tokens in the specific token listsuccessfully.\r
   @retval EFI_NOT_FOUND        The Token is not found in SpecifiedTokenList.\r
-  \r
+\r
 **/\r
 EFI_STATUS\r
 SockCancelToken (\r
@@ -602,19 +602,19 @@ SockCancelToken (
   if (IsListEmpty (SpecifiedTokenList) && Token != NULL) {\r
     return EFI_NOT_FOUND;\r
   }\r
-  \r
+\r
   //\r
   // Iterate through the SpecifiedTokenList.\r
   //\r
   Entry = SpecifiedTokenList->ForwardLink;\r
   while (Entry != SpecifiedTokenList) {\r
     SockToken = NET_LIST_USER_STRUCT (Entry, SOCK_TOKEN, TokenList);\r
-    \r
+\r
     if (Token == NULL) {\r
       SIGNAL_TOKEN (SockToken->Token, EFI_ABORTED);\r
       RemoveEntryList (&SockToken->TokenList);\r
       FreePool (SockToken);\r
-      \r
+\r
       Entry = SpecifiedTokenList->ForwardLink;\r
       Status = EFI_SUCCESS;\r
     } else {\r
@@ -622,18 +622,18 @@ SockCancelToken (
         SIGNAL_TOKEN (Token, EFI_ABORTED);\r
         RemoveEntryList (&(SockToken->TokenList));\r
         FreePool (SockToken);\r
-        \r
+\r
         return EFI_SUCCESS;\r
       }\r
 \r
       Status = EFI_NOT_FOUND;\r
-      \r
+\r
       Entry = Entry->ForwardLink;\r
-    } \r
+    }\r
   }\r
 \r
   ASSERT (IsListEmpty (SpecifiedTokenList) || Token != NULL);\r
-  \r
+\r
   return Status;\r
 }\r
 \r