From 66889f2d9540eebeb6fb9e6ad814d50c6ab7e27c Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Wed, 15 Oct 2008 09:58:30 -0700 Subject: [PATCH] remove debug helper code for crc32 --- src/common/sctp_crc32.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/common/sctp_crc32.c b/src/common/sctp_crc32.c index 2de1e320cc0ae..33a441c1a9204 100644 --- a/src/common/sctp_crc32.c +++ b/src/common/sctp_crc32.c @@ -716,18 +716,8 @@ sctp_csum_finalize(uint32_t crc32c) return (crc32c); } -#if 1 -#include -#include -#endif /* this code should be removed, and was introduced only for debugging purposes */ - uint32_t crc32c_le(uint32_t crc, unsigned char const *data, unsigned length) { -#if 1 - if (memcmp(data, data, length) != 0) { - printf("CRCRCRCRCRCRCRC !!!\n"); - } -#endif /* this code should be removed, and was introduced only for debugging purposes */ return update_crc32(crc, data, length); } -- 2.39.5