diff --git a/src/util/inc/tchecksum.h b/src/util/inc/tchecksum.h index 493c993c2554ba7574ee308edd099b25f9e82f37..54043d68e137eaf35622df90a465a0eabb184c59 100644 --- a/src/util/inc/tchecksum.h +++ b/src/util/inc/tchecksum.h @@ -35,8 +35,6 @@ extern "C" { typedef uint32_t TSCKSUM; static FORCE_INLINE TSCKSUM taosCalcChecksum(TSCKSUM csi, const uint8_t *stream, uint32_t ssize) { - assert(ssize >= 0 && stream != NULL); - return (*crc32c)(csi, stream, (size_t)ssize); }