]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
remove debug helper code for crc32
authorYehuda Sadeh <yehuda@hq.newdream.net>
Wed, 15 Oct 2008 16:58:30 +0000 (09:58 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Wed, 15 Oct 2008 16:58:30 +0000 (09:58 -0700)
src/common/sctp_crc32.c

index 2de1e320cc0ae05419d0f3b1b4c203a1991ab35d..33a441c1a9204e7e94cc7e5763c934e98be6cd28 100644 (file)
@@ -716,18 +716,8 @@ sctp_csum_finalize(uint32_t crc32c)
        return (crc32c);
 }
 
-#if 1
-#include <string.h>
-#include <stdio.h>
-#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);
 }