summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2019-05-10 16:11:54 -0700
committerPatrick Venture <venture@google.com>2019-05-10 16:11:54 -0700
commit15bba880aaa07634cceaec97b8b4440ee328b7cc (patch)
treeb0a6f0b6c9c077247c800036908470ee8a4f1771
parentd39b6f834f2261330fce66b88b8fa3834e561379 (diff)
downloadipmi-blob-tool-15bba880aaa07634cceaec97b8b4440ee328b7cc.tar.gz
ipmi-blob-tool-15bba880aaa07634cceaec97b8b4440ee328b7cc.zip
cleanup: delete blob byte printing
Delete extra debug printing now that the code is verified as functioning as it should for a sufficient variety of commands. Change-Id: I885640c7c8cc049532b0dd42d587995c69a0d673 Signed-off-by: Patrick Venture <venture@google.com>
-rw-r--r--src/ipmiblob/blob_handler.cpp7
-rw-r--r--src/ipmiblob/ipmi_handler.cpp6
2 files changed, 0 insertions, 13 deletions
diff --git a/src/ipmiblob/blob_handler.cpp b/src/ipmiblob/blob_handler.cpp
index b91b775..7a688bf 100644
--- a/src/ipmiblob/blob_handler.cpp
+++ b/src/ipmiblob/blob_handler.cpp
@@ -100,12 +100,6 @@ std::vector<std::uint8_t>
auto ptr = reinterpret_cast<std::uint8_t*>(&crc);
std::memcpy(ptr, &reply[ipmiPhosphorOen.size()], sizeof(crc));
- for (const auto& byte : reply)
- {
- std::fprintf(stderr, "0x%02x ", byte);
- }
- std::fprintf(stderr, "\n");
-
bytes.insert(bytes.begin(), reply.begin() + headerSize, reply.end());
auto computed = generateCrc(bytes);
@@ -138,7 +132,6 @@ int BlobHandler::getBlobCount()
return 0;
}
- std::fprintf(stderr, "BLOB Count: %u\n", count);
return count;
}
diff --git a/src/ipmiblob/ipmi_handler.cpp b/src/ipmiblob/ipmi_handler.cpp
index e4c59fc..0735004 100644
--- a/src/ipmiblob/ipmi_handler.cpp
+++ b/src/ipmiblob/ipmi_handler.cpp
@@ -153,12 +153,6 @@ std::vector<std::uint8_t>
returning.insert(returning.begin(), responseBuffer.begin() + 1,
responseBuffer.begin() + dataLen + 1);
- for (const auto& byte : returning)
- {
- std::fprintf(stderr, "0x%02x ", byte);
- }
- std::fprintf(stderr, "\n");
-
return returning;
}
OpenPOWER on IntegriCloud