]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/common/crc32c_intel_fast.c
update sources to v12.1.0
[ceph.git] / ceph / src / common / crc32c_intel_fast.c
index af081a9946b5467064bc7672c3eb9ccbabc50540..adaf3d7779e2baf47c1015abb2961c2e41084d4c 100644 (file)
@@ -1,5 +1,4 @@
 #include "acconfig.h"
-#include "include/int_types.h"
 #include "common/crc32c_intel_baseline.h"
 
 extern unsigned int crc32_iscsi_00(unsigned char const *buffer, int len, unsigned int crc);
@@ -12,9 +11,10 @@ uint32_t ceph_crc32c_intel_fast(uint32_t crc, unsigned char const *buffer, unsig
        uint32_t v;
        unsigned left;
 
-
        if (!buffer)
-               return crc32_iscsi_zero_00(buffer, len, crc);
+       {
+         return crc32_iscsi_zero_00(buffer, len, crc);
+       }
 
        /*
         * the crc32_iscsi_00 method reads past buffer+len (because it