mirror of https://github.com/acidanthera/audk.git
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:
parent
7c10e8abb6
commit
effddeea39
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue