summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BasePciCf8Lib/PciLib.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BasePciCf8Lib/PciLib.c')
-rw-r--r--MdePkg/Library/BasePciCf8Lib/PciLib.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/MdePkg/Library/BasePciCf8Lib/PciLib.c b/MdePkg/Library/BasePciCf8Lib/PciLib.c
index 108c95291c..2f82fbe2c8 100644
--- a/MdePkg/Library/BasePciCf8Lib/PciLib.c
+++ b/MdePkg/Library/BasePciCf8Lib/PciLib.c
@@ -1299,8 +1299,6 @@ PciCf8ReadBuffer (
UINTN EndAddress;
ASSERT_INVALID_PCI_ADDRESS (StartAddress, 0);
- ASSERT (((StartAddress & 0xFFF) + Size) <= 0x1000);
- ASSERT ((StartAddress + Size - 1) <= 0x0FFFFFFF);
ASSERT (Buffer != NULL);
EndAddress = StartAddress + Size;
@@ -1388,8 +1386,6 @@ PciCf8WriteBuffer (
UINTN EndAddress;
ASSERT_INVALID_PCI_ADDRESS (StartAddress, 0);
- ASSERT (((StartAddress & 0xFFF) + Size) <= 0x1000);
- ASSERT ((StartAddress + Size - 1) <= 0x0FFFFFFF);
ASSERT (Buffer != NULL);
EndAddress = StartAddress + Size;