X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=SecurityPkg%2FUserIdentification%2FUsbCredentialProviderDxe%2FUsbCredentialProvider.c;h=327a2b03884b88bbbc46297f5787d7585ab3b8a8;hp=979cdfd2cb22af85af938824e5c03118f79991a5;hb=0c5b25f021a815d4ddce306139cc077db9afddfd;hpb=5f4ef94a55807e1b42201866af232053183d3f8d diff --git a/SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProvider.c b/SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProvider.c index 979cdfd2cb..327a2b0388 100644 --- a/SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProvider.c +++ b/SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProvider.c @@ -674,7 +674,6 @@ CredentialEnroll ( USB_INFO UsbInfo; EFI_USER_INFO *UserInfo; EFI_INPUT_KEY Key; - EFI_USER_MANAGER_PROTOCOL *UserManager; UINT8 *UserId; CHAR16 *QuestionStr; CHAR16 *PromptStr; @@ -683,15 +682,6 @@ CredentialEnroll ( return EFI_INVALID_PARAMETER; } - Status = gBS->LocateProtocol ( - &gEfiUserManagerProtocolGuid, - NULL, - (VOID **) &UserManager - ); - if (EFI_ERROR (Status)) { - return EFI_UNSUPPORTED; - } - // // Get User Identifier // @@ -749,11 +739,6 @@ CredentialEnroll ( return Status; } - // - // Notify the user manager driver that credential information has changed. - // - UserManager->Notify (UserManager, mCallbackInfo->DriverHandle); - return EFI_SUCCESS; }