]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c
ShellPkg: Clean up source files
[mirror_edk2.git] / ShellPkg / Library / UefiShellNetwork2CommandsLib / Ping6.c
index 2cdf484c06151635ca9733a0025e82443d38e823..27713cf12787a4a499aaf1725c3322c6e7de1da4 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   The implementation for Ping6 application.\r
 \r
-  Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2016 - 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
@@ -50,7 +50,7 @@ typedef struct _PING6_PRIVATE_DATA {
   EFI_EVENT                   Timer;\r
 \r
   UINT32                      TimerPeriod;\r
-  UINT32                      RttTimerTick;   \r
+  UINT32                      RttTimerTick;\r
   EFI_EVENT                   RttTimer;\r
 \r
   EFI_STATUS                  Status;\r
@@ -199,7 +199,7 @@ Ping6InitRttTimer (
   if (Private->TimerPeriod == 0) {\r
     return EFI_ABORTED;\r
   }\r
-  \r
+\r
   Private->RttTimerTick = 0;\r
   Status = gBS->CreateEvent (\r
                   EVT_TIMER | EVT_NOTIFY_SIGNAL,\r
@@ -245,7 +245,7 @@ Ping6FreeRttTimer (
 \r
 /**\r
   Read the current time.\r
-  \r
+\r
   @param[in]    Private    The pointer to PING6_PRIVATE_DATA.\r
 \r
   @retval the current tick value.\r
@@ -787,11 +787,11 @@ Ping6CreateIpInstance (
 \r
   if (NetIp6IsUnspecifiedAddr (&Private->SrcAddress)) {\r
     //\r
-    // SrcAddress is unspecified. So, both connected and configured interface will be automatic selected. \r
+    // SrcAddress is unspecified. So, both connected and configured interface will be automatic selected.\r
     //\r
     UnspecifiedSrc = TRUE;\r
   }\r
-  \r
+\r
   //\r
   // Source address is required when pinging a link-local address.\r
   //\r
@@ -800,7 +800,7 @@ Ping6CreateIpInstance (
     Status = EFI_INVALID_PARAMETER;\r
     goto ON_ERROR;\r
   }\r
-  \r
+\r
   //\r
   // For each ip6 protocol, check interface addresses list.\r
   //\r
@@ -899,7 +899,7 @@ Ping6CreateIpInstance (
         // Match a certain interface address.\r
         //\r
         break;\r
-      } \r
+      }\r
     }\r
 \r
     if (AddrIndex < IfInfo->AddressInfoCount) {\r