]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DebugPortDxe/DebugPort.c
sync comments, fix function header, rename variable name to follow coding style.
[mirror_edk2.git] / MdeModulePkg / Universal / DebugPortDxe / DebugPort.c
index 932c772d48fca683974dc2e1d63c685c5c42eac8..0ddbf1ed2a1d2ef41ee5fd8d53941fcba6ed30d1 100644 (file)
@@ -73,11 +73,11 @@ GetDebugPortVariable (
             DebugPortDevice->DebugPortVariable\r
             );\r
       DevicePath = (EFI_DEVICE_PATH_PROTOCOL *) DebugPortDevice->DebugPortVariable;\r
-      while (!EfiIsDevicePathEnd (DevicePath) && !IS_UART_DEVICEPATH (DevicePath)) {\r
-        DevicePath = EfiNextDevicePathNode (DevicePath);\r
+      while (!IsDevicePathEnd (DevicePath) && !IS_UART_DEVICEPATH (DevicePath)) {\r
+        DevicePath = NextDevicePathNode (DevicePath);\r
       }\r
 \r
-      if (EfiIsDevicePathEnd (DevicePath)) {\r
+      if (IsDevicePathEnd (DevicePath)) {\r
         FreePool (gDebugPortDevice->DebugPortVariable);\r
         DebugPortDevice->DebugPortVariable = NULL;\r
       } else {\r