Revert "OcAppleEventLib: Silence Coverity warning"

This reverts commit 7c695007ae70d53a21f12f5cd62452cad9a95894.
This commit is contained in:
PMheart 2022-03-03 12:58:46 +01:00
parent ef78031809
commit c91eebf3f4

View File

@ -419,10 +419,6 @@ InternalGetCurrentKeyStroke (
DEBUG ((DEBUG_VERBOSE, "InternalGetCurrentKeyStroke\n"));
if (NumberOfKeyCodes == NULL || KeyCodes == NULL || Key == NULL) {
return EFI_INVALID_PARAMETER;
}
if (mModifiers != Modifiers) {
for (Index = 0; Index < ARRAY_SIZE (mKeyStrokeInfo); ++Index) {
mKeyStrokeInfo[Index].CurrentStroke = FALSE;