}\r
if (!EFI_ERROR (Status) && Image != NULL) {\r
IsDepexValid = ValidateImageDepex ((EFI_FIRMWARE_IMAGE_DEP *) Image, ImageSize, &DepexSize);\r
- if (IsDepexValid == TRUE) {\r
+ if (IsDepexValid) {\r
Private->Descriptor.Dependencies = AllocatePool (DepexSize);\r
if (Private->Descriptor.Dependencies != NULL) {\r
CopyMem (Private->Descriptor.Dependencies->Dependencies, Image, DepexSize);\r