diff --git a/Library/OcAppleEventLib/KeyHandler.c b/Library/OcAppleEventLib/KeyHandler.c index 54da9c9e..e4c6e435 100644 --- a/Library/OcAppleEventLib/KeyHandler.c +++ b/Library/OcAppleEventLib/KeyHandler.c @@ -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;