diff options
author | Eric Dong <eric.dong@intel.com> | 2016-04-07 21:24:05 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-07-04 10:36:10 +0800 |
commit | fe33dae88b368c48a119c734a5d5c5b2c6eb4f2c (patch) | |
tree | c90900584f9c9f9a456c88b956a1caae41ca6f4c | |
parent | cbfa5932c2f75ceb29e85c001d7a5bcf318b3403 (diff) | |
download | edk2-platforms-fe33dae88b368c48a119c734a5d5c5b2c6eb4f2c.tar.xz |
SecurityPkg OpalPasswordDxe: Clean up debug message in OpalHii.c
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
(cherry picked from commit 8207d79b30a16419008d8d6ee3b3a0b1c66aebf2)
-rw-r--r-- | SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalHii.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalHii.c b/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalHii.c index eb7d59b52c..370b8462a6 100644 --- a/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalHii.c +++ b/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalHii.c @@ -102,7 +102,6 @@ HiiSetCurrentConfiguration( &DataSize,
&OpalExtraInfo
);
- DEBUG ((DEBUG_INFO, "GetVariable for OpalExtraInfo @ HiiSetCurrentConfiguration, Status: %r\n", Status));
if (!EFI_ERROR (Status)) {
gHiiConfiguration.EnableBlockSid = OpalExtraInfo.EnableBlockSid;
}
@@ -1096,8 +1095,6 @@ HiiPasswordEntered( UnicodeStrToAsciiStr(UniStr, Password);
gBS->FreePool(UniStr);
- DEBUG ((DEBUG_INFO, "Password: '%s'\n", Password));
-
if (gHiiConfiguration.SelectedAction == HII_KEY_ID_GOTO_UNLOCK) {
Status = HiiUnlock (OpalDisk, Password, PassLength);
} else if (gHiiConfiguration.SelectedAction == HII_KEY_ID_GOTO_SECURE_ERASE) {
@@ -1136,8 +1133,6 @@ HiiSetBlockSid ( Status = EFI_SUCCESS;
- DEBUG ((DEBUG_INFO, "HiiSetBlockSid(enable: %x)\n", Enable));
-
OpalExtraInfo.EnableBlockSid = Enable;
DataSize = sizeof (OPAL_EXTRA_INFO_VAR);
Status = gRT->SetVariable (
@@ -1147,7 +1142,6 @@ HiiSetBlockSid ( DataSize,
&OpalExtraInfo
);
- DEBUG ((DEBUG_INFO, "SetVariable, Status: %r\n", Status));
return Status;
}
@@ -1178,7 +1172,6 @@ RouteConfig( EFI_STRING *Progress
)
{
- DEBUG ((DEBUG_INFO, "RouteConfig( )\n"));
if (Configuration == NULL || Progress == NULL) {
return (EFI_INVALID_PARAMETER);
}
@@ -1223,8 +1216,6 @@ ExtractConfig( {
EFI_STATUS Status;
- DEBUG ((DEBUG_INFO, "ExtractConfig( )\n"));
-
//
// Check for valid parameters
//
@@ -1258,7 +1249,6 @@ OpalHiiSetBrowserData ( VOID
)
{
- DEBUG ((DEBUG_INFO, "OpalHiiSetBrowserData( )\n"));
HiiSetBrowserData(
&gHiiSetupVariableGuid,
(CHAR16*)L"OpalHiiConfig",
@@ -1279,7 +1269,6 @@ OpalHiiGetBrowserData ( VOID
)
{
- DEBUG ((DEBUG_INFO, "OpalHiiGetBrowserData( )\n"));
HiiGetBrowserData(
&gHiiSetupVariableGuid,
(CHAR16*)L"OpalHiiConfig",
@@ -1308,8 +1297,6 @@ HiiSetFormString( UINT32 UniSize;
CHAR16* UniStr;
- DEBUG ((DEBUG_INFO, "HiiSetFormString( )\n"));
-
//
// Determine the Length of the sting
//
|