cspcomif removed commented lines

This commit is contained in:
Jakob Meier 2020-12-21 10:27:29 +01:00
parent 7aa00093de
commit 17b4cee817

View File

@ -83,20 +83,6 @@ ReturnValue_t CspComIF::sendMessage(CookieIF *cookie,
/* Extract csp port and bytes to query from command buffer */ /* Extract csp port and bytes to query from command buffer */
uint8_t cspPort; uint8_t cspPort;
uint16_t querySize; uint16_t querySize;
// result = SerializeAdapter::deSerialize(&cspPort, &sendData,
// &sendLen, SerializeIF::Endianness::BIG);
// if(result != HasReturnvaluesIF::RETURN_OK){
// sif::error << "CspComIF: Failed to deserialize CSP port from command "
// << "buffer" << std::endl;
// return HasReturnvaluesIF::RETURN_FAILED;
// }
// SerializeAdapter::deSerialize(&querySize, &sendData, &sendLen,
// SerializeIF::Endianness::BIG);
// if(result != HasReturnvaluesIF::RETURN_OK){
// sif::error << "CspComIF: Failed to deserialize querySize from command "
// << "buffer" << std::endl;
// return HasReturnvaluesIF::RETURN_FAILED;
// }
result = getPortAndQuerySize(&sendData, &sendLen, &cspPort, &querySize); result = getPortAndQuerySize(&sendData, &sendLen, &cspPort, &querySize);
if(result != HasReturnvaluesIF::RETURN_OK) { if(result != HasReturnvaluesIF::RETURN_OK) {
return result; return result;