summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/crc32c.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-09-24 11:48:04 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 15:41:59 -0400
commit2b1f55b0f0d0d1a66470ef4ea2696cd5dd741a12 (patch)
tree980019fac9b0891e682bc7d9a8c8a58284b467fc /fs/btrfs/crc32c.h
parent9b49c9b9f93e148815f2544d0c91f43b6d72eea9 (diff)
downloadop-kernel-dev-2b1f55b0f0d0d1a66470ef4ea2696cd5dd741a12.zip
op-kernel-dev-2b1f55b0f0d0d1a66470ef4ea2696cd5dd741a12.tar.gz
Remove Btrfs compat code for older kernels
Btrfs had compatibility code for kernels back to 2.6.18. These have been removed, and will be maintained in a separate backport git tree from now on. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/crc32c.h')
-rw-r--r--fs/btrfs/crc32c.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/btrfs/crc32c.h b/fs/btrfs/crc32c.h
index bf6c12e..4f0fefe 100644
--- a/fs/btrfs/crc32c.h
+++ b/fs/btrfs/crc32c.h
@@ -96,13 +96,7 @@ static inline u32 __btrfs_crc32c(u32 crc, unsigned char const *address,
* We must workaround older implementations of crc32c_le()
* found on older kernel versions.
*/
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)
-#define btrfs_crc32c(seed, data, length) \
- __cpu_to_le32( __btrfs_crc32c( __le32_to_cpu(seed), \
- (unsigned char const *)data, length) )
-#else
#define btrfs_crc32c(seed, data, length) \
__btrfs_crc32c(seed, (unsigned char const *)data, length)
#endif
-#endif
OpenPOWER on IntegriCloud