summaryrefslogtreecommitdiffstats
path: root/SecurityPkg/UserIdentification/UsbCredentialProviderDxe
diff options
context:
space:
mode:
authorgdong1 <gdong1@6f19259b-4bc3-4df7-8a09-765794883524>2012-01-05 08:11:49 +0000
committergdong1 <gdong1@6f19259b-4bc3-4df7-8a09-765794883524>2012-01-05 08:11:49 +0000
commit1e44cb991fbf128856e08518bed71aa7f02af241 (patch)
tree7fb4566449520708e213d7a446e7bbd656088e9d /SecurityPkg/UserIdentification/UsbCredentialProviderDxe
parent1e21413c8c3489a6e84b08386ce10ed281f5203c (diff)
downloadedk2-1e44cb991fbf128856e08518bed71aa7f02af241.tar.gz
edk2-1e44cb991fbf128856e08518bed71aa7f02af241.tar.bz2
edk2-1e44cb991fbf128856e08518bed71aa7f02af241.zip
Remove illegal TPL usage.
Signed-off-by: gdong1 Reviewed-by: niruiyu Reviewed-by: tye1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12908 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg/UserIdentification/UsbCredentialProviderDxe')
-rw-r--r--SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProvider.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProvider.c b/SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProvider.c
index 327a2b0388..f851bb2e2d 100644
--- a/SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProvider.c
+++ b/SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProvider.c
@@ -1,7 +1,7 @@
/** @file
Usb Credential Provider driver implemenetation.
-Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -894,7 +894,6 @@ CredentialUser (
UINT8 *UserToken;
UINT8 ReadToken[HASHED_CREDENTIAL_LEN];
EFI_INPUT_KEY Key;
- EFI_TPL OldTpl;
CHAR16 *QuestionStr;
CHAR16 *PromptStr;
@@ -943,8 +942,6 @@ CredentialUser (
if (EFI_ERROR (Status)) {
QuestionStr = GetStringById (STRING_TOKEN (STR_READ_USB_TOKEN_ERROR));
PromptStr = GetStringById (STRING_TOKEN (STR_INSERT_USB_TOKEN));
- OldTpl = gBS->RaiseTPL (TPL_HIGH_LEVEL);
- gBS->RestoreTPL (TPL_APPLICATION);
CreatePopUp (
EFI_LIGHTGRAY | EFI_BACKGROUND_BLUE,
&Key,
@@ -953,7 +950,6 @@ CredentialUser (
PromptStr,
NULL
);
- gBS->RaiseTPL (OldTpl);
FreePool (QuestionStr);
FreePool (PromptStr);
return EFI_NOT_FOUND;