summaryrefslogtreecommitdiff
path: root/SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c
diff options
context:
space:
mode:
Diffstat (limited to 'SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c')
-rw-r--r--SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c15
1 files changed, 0 insertions, 15 deletions
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;
}