diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-07-03 19:36:39 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:23 -0400 |
commit | 738540f7fcdd619fe3adb8a27116f0f4371bf711 (patch) | |
tree | e1e26fd2aa14bf9b81d91f524bdb428444ddc398 /fs/bcachefs/checksum.h | |
parent | d74dfe02881bdf8df99a320857f38540315989cd (diff) |
bcachefs: kill bch2_crc64_update
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/checksum.h')
-rw-r--r-- | fs/bcachefs/checksum.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/bcachefs/checksum.h b/fs/bcachefs/checksum.h index afdbbf702970..b84e81bac8ff 100644 --- a/fs/bcachefs/checksum.h +++ b/fs/bcachefs/checksum.h @@ -25,11 +25,6 @@ static inline bool bch2_checksum_mergeable(unsigned type) struct bch_csum bch2_checksum_merge(unsigned, struct bch_csum, struct bch_csum, size_t); -static inline u64 bch2_crc64_update(u64 crc, const void *p, size_t len) -{ - return crc64_be(crc, p, len); -} - #define BCH_NONCE_EXTENT cpu_to_le32(1 << 28) #define BCH_NONCE_BTREE cpu_to_le32(2 << 28) #define BCH_NONCE_JOURNAL cpu_to_le32(3 << 28) |