From 0c5b25f021a815d4ddce306139cc077db9afddfd Mon Sep 17 00:00:00 2001 From: gdong1 Date: Wed, 26 Oct 2011 02:03:57 +0000 Subject: Update UID drivers to align with latest UEFI spec 2.3.1. Signed-off-by: gdong1 Reviewed-by: tye Reviewed-by: qianouyang git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12567 6f19259b-4bc3-4df7-8a09-765794883524 --- .../PwdCredentialProviderDxe/PwdCredentialProvider.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'SecurityPkg/UserIdentification/PwdCredentialProviderDxe') diff --git a/SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c b/SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c index 0016db8663..afb090a919 100644 --- a/SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c +++ b/SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c @@ -745,7 +745,6 @@ CredentialEnroll ( EFI_USER_INFO *UserInfo; CHAR8 Password[CREDENTIAL_LEN]; EFI_INPUT_KEY Key; - EFI_USER_MANAGER_PROTOCOL *UserManager; UINT8 *UserId; CHAR16 *QuestionStr; CHAR16 *PromptStr; @@ -754,15 +753,6 @@ CredentialEnroll ( return EFI_INVALID_PARAMETER; } - Status = gBS->LocateProtocol ( - &gEfiUserManagerProtocolGuid, - NULL, - (VOID **) &UserManager - ); - if (EFI_ERROR (Status)) { - return EFI_UNSUPPORTED; - } - // // Get User Identifier. // @@ -835,11 +825,6 @@ CredentialEnroll ( return Status; } - // - // Notify the user manager driver that credential information has changed. - // - UserManager->Notify (UserManager, mCallbackInfo->DriverHandle); - return EFI_SUCCESS; } -- cgit v1.2.3