]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbService.c
Vlv2TbltDevicePkg: fix ASSERT_EFI_ERROR() typos
[mirror_edk2.git] / Vlv2TbltDevicePkg / FvbRuntimeDxe / FvbService.c
index da7dce6e13c7fd2ee9b3a4ace4dbabf5f96af325..7c95c107e6008f66277ce297326ee637e6ed5be8 100644 (file)
@@ -154,7 +154,7 @@ FvbGetVolumeAttributes (
 {\r
   EFI_FW_VOL_INSTANCE *    FwInstance = NULL;\r
   FwInstance = GetFvbInstance(Instance);\r
-  ASSERT_EFI_ERROR (FwInstance != NULL);\r
+  ASSERT (FwInstance != NULL);\r
 \r
   if ( FwInstance != NULL ) {\r
     return FwInstance->VolumeHeader.Attributes;\r
@@ -208,7 +208,7 @@ FvbGetLbaAddress (
   StartLba  = 0;\r
   Offset    = 0;\r
   BlockMap  = &(FwhInstance->VolumeHeader.BlockMap[0]);\r
-  ASSERT_EFI_ERROR (BlockMap != NULL);\r
+  ASSERT (BlockMap != NULL);\r
 \r
   //\r
   // Parse the blockmap of the FV to find which map entry the Lba belongs to.\r
@@ -512,7 +512,7 @@ FvbSetVolumeAttributes (
   FwhInstance = GetFvbInstance (Instance);\r
 \r
   AttribPtr     = (EFI_FVB_ATTRIBUTES_2 *) & (FwhInstance->VolumeHeader.Attributes);\r
-  ASSERT_EFI_ERROR (AttribPtr != NULL);\r
+  ASSERT (AttribPtr != NULL);\r
 \r
   if ( AttribPtr != NULL) {\r
     OldAttributes = *AttribPtr;\r