DynamicTablesPkg: Remove redundant frame count check

Removing GT Block frame count check from AddGTBlockTimerFrames()
as this is already validated in BuildGtdtTable().

Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
This commit is contained in:
Sami Mujawar 2019-07-09 16:40:43 +01:00 committed by mergify[bot]
parent 7c10e8abb6
commit effddeea39
1 changed files with 0 additions and 10 deletions

View File

@ -259,16 +259,6 @@ AddGTBlockTimerFrames (
ASSERT (GtBlockFrame != NULL);
ASSERT (GTBlockTimerFrameList != NULL);
if (GTBlockFrameCount > 8) {
DEBUG ((
DEBUG_ERROR,
"ERROR: GTDT: GT Block Frame Count %d is greater than 8\n",
GTBlockFrameCount
));
ASSERT (GTBlockFrameCount <= 8);
return EFI_INVALID_PARAMETER;
}
IsFrameNumberDuplicated = FindDuplicateValue (
GTBlockTimerFrameList,
GTBlockFrameCount,