]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/GenFv/GenFvInternalLib.c
BaseTools: Fixed the multiple pairs brackets issue in GenFv
[mirror_edk2.git] / BaseTools / Source / C / GenFv / GenFvInternalLib.c
index 5c3d54f5f7a63edaeb8e498ba3dadc19797952d8..b5b94250033474ac12bda63ee724dc644191304e 100644 (file)
@@ -3559,7 +3559,7 @@ Returns:
       }\r
 \r
       // Machine type is LOONGARCH64, set a flag so LoongArch64 reset vector processed.\r
-      if ((MachineType == EFI_IMAGE_MACHINE_LOONGARCH64)) {\r
+      if (MachineType == EFI_IMAGE_MACHINE_LOONGARCH64) {\r
         VerboseMsg("Located LoongArch64 SEC core in child FV");\r
         mLoongArch = TRUE;\r
       }\r
@@ -3721,7 +3721,7 @@ Returns:
       mRiscV = TRUE;\r
     }\r
 \r
-    if ( (ImageContext.Machine == EFI_IMAGE_MACHINE_LOONGARCH64) ) {\r
+    if (ImageContext.Machine == EFI_IMAGE_MACHINE_LOONGARCH64) {\r
       mLoongArch = TRUE;\r
     }\r
 \r
@@ -4002,7 +4002,7 @@ Returns:
       mArm = TRUE;\r
     }\r
 \r
-    if ( (ImageContext.Machine == EFI_IMAGE_MACHINE_LOONGARCH64) ) {\r
+    if (ImageContext.Machine == EFI_IMAGE_MACHINE_LOONGARCH64) {\r
       mLoongArch = TRUE;\r
     }\r
 \r