From e79a2975adf4a1a6ae8a26db0bf2143b462b9fd9 Mon Sep 17 00:00:00 2001 From: xli24 Date: Thu, 4 Jun 2009 04:30:39 +0000 Subject: Remove ASSERT (TotalSize <= sizeof (Buffer)); git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8461 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/PeiDxeDebugLibReportStatusCode/DebugLib.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode') 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 @@ -75,11 +75,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 // -- cgit v1.2.3