]> git.hungrycats.org Git - linux/commitdiff
[PATCH] remove 2.2 junk from efs
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Thu, 6 Mar 2003 09:41:33 +0000 (01:41 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Thu, 6 Mar 2003 09:41:33 +0000 (01:41 -0800)
include/linux/efs_fs.h

index 31096307c124ef4ea9ad104f5b027ce70f8df22a..808df8727891fe7da4344808b152b1c5d145fc03 100644 (file)
@@ -15,14 +15,6 @@ static const char cprt[] = "EFS: "EFS_VERSION" - (c) 1999 Al Smith <Al.Smith@aes
 
 #include <asm/uaccess.h>
 
-#ifndef LINUX_VERSION_CODE
-#include <linux/version.h>
-#endif
-
-#if LINUX_VERSION_CODE < 0x20200
-#error This code is only for linux-2.2 and later.
-#endif
-
 /* 1 block is 512 bytes */
 #define        EFS_BLOCKSIZE_BITS      9
 #define        EFS_BLOCKSIZE           (1 << EFS_BLOCKSIZE_BITS)
@@ -32,13 +24,6 @@ static const char cprt[] = "EFS: "EFS_VERSION" - (c) 1999 Al Smith <Al.Smith@aes
 #include <linux/efs_fs_sb.h>
 #include <linux/efs_dir.h>
 
-#ifndef MIN
-#define MIN(a, b) (((a) < (b)) ? (a) : (b))
-#endif
-#ifndef MAX
-#define MAX(a, b) (((a) > (b)) ? (a) : (b))
-#endif
-
 static inline struct efs_inode_info *INODE_INFO(struct inode *inode)
 {
        return container_of(inode, struct efs_inode_info, vfs_inode);