diff --git a/cpp/s2pdump/s2pdump_executor.cpp b/cpp/s2pdump/s2pdump_executor.cpp index bd1df383..b47a60f5 100644 --- a/cpp/s2pdump/s2pdump_executor.cpp +++ b/cpp/s2pdump/s2pdump_executor.cpp @@ -31,7 +31,6 @@ void S2pDumpExecutor::RequestSense() const bool S2pDumpExecutor::Inquiry(span buffer) { vector cdb(6); - cdb[3] = static_cast(buffer.size() >> 8); cdb[4] = static_cast(buffer.size()); return !initiator_executor->Execute(scsi_command::inquiry, cdb, buffer, static_cast(buffer.size()));