]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdTextIn.c
return value not follow spec.
[mirror_edk2.git] / IntelFrameworkModulePkg / Bus / Isa / Ps2KeyboardDxe / Ps2KbdTextIn.c
index b1d4fa2fdb69ea698d85de0dfbc51e483c052fed..cc4ce812f111935bb5df2ab56a00be495b6b359b 100644 (file)
@@ -665,7 +665,6 @@ Exit:
   \r
     @retval EFI_SUCCESS             - The notification function was unregistered successfully.\r
     @retval EFI_INVALID_PARAMETER   - The NotificationHandle is invalid.\r
-    @retval EFI_NOT_FOUND           - Can not find the matching entry in database.  \r
                               \r
 **/   \r
 EFI_STATUS\r
@@ -718,7 +717,7 @@ KeyboardUnregisterKeyNotify (
   //\r
   // Can not find the specified Notification Handle\r
   //\r
-  Status = EFI_NOT_FOUND;\r
+  Status = EFI_INVALID_PARAMETER;\r
 Exit:\r
   //\r
   // Leave critical section and return\r