X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Vlv2TbltDevicePkg%2FFvbRuntimeDxe%2FFvbService.c;h=7c95c107e6008f66277ce297326ee637e6ed5be8;hb=2bfd84ed45b2b66bdabac059df9db3404912dd28;hp=da7dce6e13c7fd2ee9b3a4ace4dbabf5f96af325;hpb=ef3e20e3ca77204d69e741c720e0552d822ded0f;p=mirror_edk2.git diff --git a/Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbService.c b/Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbService.c index da7dce6e13..7c95c107e6 100644 --- a/Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbService.c +++ b/Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbService.c @@ -154,7 +154,7 @@ FvbGetVolumeAttributes ( { EFI_FW_VOL_INSTANCE * FwInstance = NULL; FwInstance = GetFvbInstance(Instance); - ASSERT_EFI_ERROR (FwInstance != NULL); + ASSERT (FwInstance != NULL); if ( FwInstance != NULL ) { return FwInstance->VolumeHeader.Attributes; @@ -208,7 +208,7 @@ FvbGetLbaAddress ( StartLba = 0; Offset = 0; BlockMap = &(FwhInstance->VolumeHeader.BlockMap[0]); - ASSERT_EFI_ERROR (BlockMap != NULL); + ASSERT (BlockMap != NULL); // // Parse the blockmap of the FV to find which map entry the Lba belongs to. @@ -512,7 +512,7 @@ FvbSetVolumeAttributes ( FwhInstance = GetFvbInstance (Instance); AttribPtr = (EFI_FVB_ATTRIBUTES_2 *) & (FwhInstance->VolumeHeader.Attributes); - ASSERT_EFI_ERROR (AttribPtr != NULL); + ASSERT (AttribPtr != NULL); if ( AttribPtr != NULL) { OldAttributes = *AttribPtr;