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>
This commit is contained in:
Eric Dong 2016-04-07 21:24:05 +08:00 committed by Feng Tian
parent 1e6844dbe4
commit 8207d79b30
1 changed files with 0 additions and 13 deletions

View File

@ -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;
}
@ -1110,8 +1109,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) {
@ -1150,8 +1147,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 (
@ -1161,7 +1156,6 @@ HiiSetBlockSid (
DataSize,
&OpalExtraInfo
);
DEBUG ((DEBUG_INFO, "SetVariable, Status: %r\n", Status));
return Status;
}
@ -1192,7 +1186,6 @@ RouteConfig(
EFI_STRING *Progress
)
{
DEBUG ((DEBUG_INFO, "RouteConfig( )\n"));
if (Configuration == NULL || Progress == NULL) {
return (EFI_INVALID_PARAMETER);
}
@ -1237,8 +1230,6 @@ ExtractConfig(
{
EFI_STATUS Status;
DEBUG ((DEBUG_INFO, "ExtractConfig( )\n"));
//
// Check for valid parameters
//
@ -1272,7 +1263,6 @@ OpalHiiSetBrowserData (
VOID
)
{
DEBUG ((DEBUG_INFO, "OpalHiiSetBrowserData( )\n"));
HiiSetBrowserData(
&gHiiSetupVariableGuid,
(CHAR16*)L"OpalHiiConfig",
@ -1293,7 +1283,6 @@ OpalHiiGetBrowserData (
VOID
)
{
DEBUG ((DEBUG_INFO, "OpalHiiGetBrowserData( )\n"));
HiiGetBrowserData(
&gHiiSetupVariableGuid,
(CHAR16*)L"OpalHiiConfig",
@ -1322,8 +1311,6 @@ HiiSetFormString(
UINT32 UniSize;
CHAR16* UniStr;
DEBUG ((DEBUG_INFO, "HiiSetFormString( )\n"));
//
// Determine the Length of the sting
//