summaryrefslogtreecommitdiffstats
path: root/SecurityPkg/Tcg/Opal
diff options
context:
space:
mode:
authorEric Dong <eric.dong@intel.com>2016-07-08 10:51:10 +0800
committerHao Wu <hao.a.wu@intel.com>2016-07-11 10:38:20 +0800
commitc9a07555728814bb7d9d8fdf61cdb334b6b5a33d (patch)
treeb0962f48abf8971ce9cda82a231dee0c48f6335a /SecurityPkg/Tcg/Opal
parent8ed9ce80a68a4e8268491182463b6eea586e44f9 (diff)
downloadedk2-c9a07555728814bb7d9d8fdf61cdb334b6b5a33d.tar.gz
edk2-c9a07555728814bb7d9d8fdf61cdb334b6b5a33d.tar.bz2
edk2-c9a07555728814bb7d9d8fdf61cdb334b6b5a33d.zip
SecurityPkg OpalPasswordSmm: Remove useless code.
EdkII not allow to use #if in source code, also the code in it already unused. so just remove this code. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com>
Diffstat (limited to 'SecurityPkg/Tcg/Opal')
-rw-r--r--SecurityPkg/Tcg/Opal/OpalPasswordSmm/OpalNvmeMode.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/SecurityPkg/Tcg/Opal/OpalPasswordSmm/OpalNvmeMode.c b/SecurityPkg/Tcg/Opal/OpalPasswordSmm/OpalNvmeMode.c
index ae9bfd9550..3826698709 100644
--- a/SecurityPkg/Tcg/Opal/OpalPasswordSmm/OpalNvmeMode.c
+++ b/SecurityPkg/Tcg/Opal/OpalPasswordSmm/OpalNvmeMode.c
@@ -1007,9 +1007,6 @@ NvmePassThru (
Sq->Payload.Raw.Cdw15 = Packet->NvmeCmd->Cdw15;
}
-#if (EN_NVME_VERBOSE_DBINFO == ON)
- //DumpMem (Sq, sizeof (NVME_SQ));
-#endif
///
/// Ring the submission queue doorbell.
///
@@ -1383,9 +1380,6 @@ NvmeSecuritySendReceive (
// Actions for sending security command
//
if (SendCommand) {
-#if (EN_NVME_VERBOSE_DBINFO == ON)
- //DumpMem (TransferBuffer, TransferLength);
-#endif
CopyMem (SecBuff, TransferBuffer, TransferLength);
}
@@ -1427,9 +1421,6 @@ NvmeSecuritySendReceive (
//
if (!SendCommand) {
CopyMem (TransferBuffer, SecBuff, TransferLength);
-#if (EN_NVME_VERBOSE_DBINFO == ON)
- //DumpMem (TransferBuffer, TransferLength);
-#endif
}
return Status;