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
// 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