]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c
ArmPkg: Fix Ecc error 3001 in SemihostFs
[mirror_edk2.git] / ArmPkg / Filesystem / SemihostFs / Arm / SemihostFs.c
index 69e983226ba7e713e57c7a1b89f61565153a7256..230f971f8bb4ac0f2bcf942cd88487552c0957be 100644 (file)
@@ -764,7 +764,7 @@ GetFileInfo (
   UINTN           ResultSize;\r
   UINTN           Index;\r
 \r
-  if (Fcb->IsRoot == TRUE) {\r
+  if (Fcb->IsRoot) {\r
     ResultSize = SIZE_OF_EFI_FILE_INFO + sizeof(CHAR16);\r
   } else {\r
     NameSize   = AsciiStrLen (Fcb->FileName) + 1;\r
@@ -784,7 +784,7 @@ GetFileInfo (
   // Fill in the structure\r
   Info->Size = ResultSize;\r
 \r
-  if (Fcb->IsRoot == TRUE) {\r
+  if (Fcb->IsRoot) {\r
     Info->FileName[0]  = L'\0';\r
   } else {\r
     for (Index = 0; Index < NameSize; Index++) {\r