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 //