summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode
diff options
context:
space:
mode:
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-04 04:30:39 +0000
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-04 04:30:39 +0000
commite79a2975adf4a1a6ae8a26db0bf2143b462b9fd9 (patch)
tree47e049072b047a3b5d97a7fb468daa0104128f46 /IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode
parent33cf9937a9ccfdae41d266b7fe0abe58d3b1fa6b (diff)
downloadedk2-platforms-e79a2975adf4a1a6ae8a26db0bf2143b462b9fd9.tar.xz
Remove ASSERT (TotalSize <= sizeof (Buffer));
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8461 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode')
-rw-r--r--IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c b/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c
index 40cb1de3a1..4fa93170ef 100644
--- a/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c
+++ b/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c
@@ -76,11 +76,6 @@ DebugPrint (
TotalSize = sizeof (EFI_DEBUG_INFO) + 12 * sizeof (UINT64) + AsciiStrLen (Format) + 1;
//
- // If the TotalSize is larger than the maximum record size, then ASSERT()
- //
- ASSERT (TotalSize <= sizeof (Buffer));
-
- //
// If the TotalSize is larger than the maximum record size, then return
//
if (TotalSize > sizeof (Buffer)) {