mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
8ed9ce80a6
commit
c9a0755572
|
@ -1007,9 +1007,6 @@ NvmePassThru (
|
||||||
Sq->Payload.Raw.Cdw15 = Packet->NvmeCmd->Cdw15;
|
Sq->Payload.Raw.Cdw15 = Packet->NvmeCmd->Cdw15;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if (EN_NVME_VERBOSE_DBINFO == ON)
|
|
||||||
//DumpMem (Sq, sizeof (NVME_SQ));
|
|
||||||
#endif
|
|
||||||
///
|
///
|
||||||
/// Ring the submission queue doorbell.
|
/// Ring the submission queue doorbell.
|
||||||
///
|
///
|
||||||
|
@ -1383,9 +1380,6 @@ NvmeSecuritySendReceive (
|
||||||
// Actions for sending security command
|
// Actions for sending security command
|
||||||
//
|
//
|
||||||
if (SendCommand) {
|
if (SendCommand) {
|
||||||
#if (EN_NVME_VERBOSE_DBINFO == ON)
|
|
||||||
//DumpMem (TransferBuffer, TransferLength);
|
|
||||||
#endif
|
|
||||||
CopyMem (SecBuff, TransferBuffer, TransferLength);
|
CopyMem (SecBuff, TransferBuffer, TransferLength);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1427,9 +1421,6 @@ NvmeSecuritySendReceive (
|
||||||
//
|
//
|
||||||
if (!SendCommand) {
|
if (!SendCommand) {
|
||||||
CopyMem (TransferBuffer, SecBuff, TransferLength);
|
CopyMem (TransferBuffer, SecBuff, TransferLength);
|
||||||
#if (EN_NVME_VERBOSE_DBINFO == ON)
|
|
||||||
//DumpMem (TransferBuffer, TransferLength);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return Status;
|
return Status;
|
||||||
|
|
Loading…
Reference in New Issue