diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-06-27 14:41:51 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2018-06-27 14:50:43 -0400 |
commit | 17e2f2775be6e10b966cd958bc0461aab662571a (patch) | |
tree | 68b5ea9ddaaaf494d1f155bfa060ba8e86d1384e /libbcachefs/checksum.h | |
parent | f2f3de4da4d8c5d2abab5b0ba201ea7e839aa418 (diff) |
Update bcachefs sources to 2cb70a82bc bcachefs: delete some debug code
Diffstat (limited to 'libbcachefs/checksum.h')
-rw-r--r-- | libbcachefs/checksum.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libbcachefs/checksum.h b/libbcachefs/checksum.h index 2690cc4..031b36f 100644 --- a/libbcachefs/checksum.h +++ b/libbcachefs/checksum.h @@ -109,14 +109,6 @@ static inline bool bch2_checksum_type_valid(const struct bch_fs *c, return true; } -static const unsigned bch_crc_bytes[] = { - [BCH_CSUM_NONE] = 0, - [BCH_CSUM_CRC32C] = 4, - [BCH_CSUM_CRC64] = 8, - [BCH_CSUM_CHACHA20_POLY1305_80] = 10, - [BCH_CSUM_CHACHA20_POLY1305_128] = 16, -}; - /* returns true if not equal */ static inline bool bch2_crc_cmp(struct bch_csum l, struct bch_csum r) { |