]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/ArpDxe/ComponentName.c
NetworkPkg: Apply uncrustify changes
[mirror_edk2.git] / NetworkPkg / ArpDxe / ComponentName.c
index bcee1e144445299e311a4472599580aced4452f6..0f78d6fd74a2de8f064821dddf44233dc0a41ec0 100644 (file)
@@ -8,7 +8,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 \r
 #include "ArpDriver.h"\r
 \r
-\r
 //\r
 // EFI Component Name Protocol\r
 //\r
@@ -21,21 +20,20 @@ GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gArpComponentName = {
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gArpComponentName2 = {\r
-  (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) ArpComponentNameGetDriverName,\r
-  (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) ArpComponentNameGetControllerName,\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL  gArpComponentName2 = {\r
+  (EFI_COMPONENT_NAME2_GET_DRIVER_NAME)ArpComponentNameGetDriverName,\r
+  (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME)ArpComponentNameGetControllerName,\r
   "en"\r
 };\r
 \r
-\r
-GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mArpDriverNameTable[] = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE  mArpDriverNameTable[] = {\r
   { "eng;en", L"ARP Network Service Driver" },\r
-  { NULL, NULL }\r
+  { NULL,     NULL                          }\r
 };\r
 \r
-GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mArpControllerNameTable[] = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE  mArpControllerNameTable[] = {\r
   { "eng;en", L"ARP Controller" },\r
-  { NULL, NULL }\r
+  { NULL,     NULL              }\r
 };\r
 \r
 /**\r
@@ -165,15 +163,15 @@ ArpComponentNameGetDriverName (
 EFI_STATUS\r
 EFIAPI\r
 ArpComponentNameGetControllerName (\r
-  IN  EFI_COMPONENT_NAME_PROTOCOL                     *This,\r
-  IN  EFI_HANDLE                                      ControllerHandle,\r
-  IN  EFI_HANDLE                                      ChildHandle        OPTIONAL,\r
-  IN  CHAR8                                           *Language,\r
-  OUT CHAR16                                          **ControllerName\r
+  IN  EFI_COMPONENT_NAME_PROTOCOL  *This,\r
+  IN  EFI_HANDLE                   ControllerHandle,\r
+  IN  EFI_HANDLE                   ChildHandle        OPTIONAL,\r
+  IN  CHAR8                        *Language,\r
+  OUT CHAR16                       **ControllerName\r
   )\r
 {\r
-  EFI_STATUS                    Status;\r
-  EFI_ARP_PROTOCOL              *Arp;\r
+  EFI_STATUS        Status;\r
+  EFI_ARP_PROTOCOL  *Arp;\r
 \r
   //\r
   // Only provide names for child handles.\r
@@ -200,7 +198,7 @@ ArpComponentNameGetControllerName (
   Status = gBS->OpenProtocol (\r
                   ChildHandle,\r
                   &gEfiArpProtocolGuid,\r
-                 (VOID **)&Arp,\r
+                  (VOID **)&Arp,\r
                   NULL,\r
                   NULL,\r
                   EFI_OPEN_PROTOCOL_GET_PROTOCOL\r