Update UID drivers to align with latest UEFI spec 2.3.1.
[mirror_edk2.git] / SecurityPkg / UserIdentification / UsbCredentialProviderDxe / UsbCredentialProvider.c
index 979cdfd..327a2b0 100644 (file)
@@ -674,7 +674,6 @@ CredentialEnroll (
   USB_INFO                  UsbInfo;\r
   EFI_USER_INFO             *UserInfo;\r
   EFI_INPUT_KEY             Key;\r
-  EFI_USER_MANAGER_PROTOCOL *UserManager;\r
   UINT8                     *UserId;\r
   CHAR16                    *QuestionStr;\r
   CHAR16                    *PromptStr;\r
@@ -683,15 +682,6 @@ CredentialEnroll (
     return EFI_INVALID_PARAMETER;\r
   }\r
  \r
-  Status = gBS->LocateProtocol (\r
-                  &gEfiUserManagerProtocolGuid,\r
-                  NULL,\r
-                  (VOID **) &UserManager\r
-                  );\r
-  if (EFI_ERROR (Status)) {\r
-    return EFI_UNSUPPORTED;\r
-  }\r
-\r
   //\r
   // Get User Identifier\r
   //\r
@@ -749,11 +739,6 @@ CredentialEnroll (
     return Status;\r
   }\r
 \r
-  //\r
-  // Notify the user manager driver that credential information has changed.\r
-  //\r
-  UserManager->Notify (UserManager, mCallbackInfo->DriverHandle);  \r
-\r
   return EFI_SUCCESS;\r
 }\r
 \r