]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crc32c: ifdef out dead code to shut up warning
authorSage Weil <sage@newdream.net>
Thu, 8 Apr 2010 23:42:59 +0000 (16:42 -0700)
committerSage Weil <sage@newdream.net>
Thu, 8 Apr 2010 23:42:59 +0000 (16:42 -0700)
src/common/sctp_crc32.c

index c6f314155917b9adf46f43a33d5fb8ab08b482d3..b10adf7cc53d704ccd0c6cf8ed5ab3ef0bad0fb2 100644 (file)
@@ -676,6 +676,7 @@ uint32_t sctp_crc_c[256] = {
 
 #define SCTP_CRC32C(c,d) (c=(c>>8)^sctp_crc_c[(c^(d))&0xFF])
 
+#if 0
 static uint32_t
 old_update_crc32(uint32_t crc32c,
     unsigned char const *buffer,
@@ -722,6 +723,7 @@ sctp_csum_finalize(uint32_t crc32c)
 #endif
        return (crc32c);
 }
+#endif
 
 uint32_t ceph_crc32c_le(uint32_t crc, unsigned char const *data, unsigned length)
 {