X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Fcommon%2Fcrc32c_intel_fast.h;fp=src%2Fceph%2Fsrc%2Fcommon%2Fcrc32c_intel_fast.h;h=0000000000000000000000000000000000000000;hb=7da45d65be36d36b880cc55c5036e96c24b53f00;hp=26a444f60615d1ae76299f476910b113a3d5fda2;hpb=691462d09d0987b47e112d6ee8740375df3c51b2;p=stor4nfv.git diff --git a/src/ceph/src/common/crc32c_intel_fast.h b/src/ceph/src/common/crc32c_intel_fast.h deleted file mode 100644 index 26a444f..0000000 --- a/src/ceph/src/common/crc32c_intel_fast.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef CEPH_COMMON_CRC32C_INTEL_FAST_H -#define CEPH_COMMON_CRC32C_INTEL_FAST_H - -#ifdef __cplusplus -extern "C" { -#endif - -/* is the fast version compiled in */ -extern int ceph_crc32c_intel_fast_exists(void); - -#ifdef __x86_64__ - -extern uint32_t ceph_crc32c_intel_fast(uint32_t crc, unsigned char const *buffer, unsigned len); - -#else - -static inline uint32_t ceph_crc32c_intel_fast(uint32_t crc, unsigned char const *buffer, unsigned len) -{ - return 0; -} - -#endif - -#ifdef __cplusplus -} -#endif - -#endif