]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
affs: bury unused macros
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 6 Apr 2012 05:40:50 +0000 (01:40 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 21 Apr 2012 22:50:51 +0000 (18:50 -0400)
... unused since 2.4.4.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/affs/affs.h

index 45a0ce45d7b46afa94b1290511bc1f91a9872137..1fceb320d2f22c16bc1a900cb27597d68977dbbd 100644 (file)
 #define AFFS_GET_HASHENTRY(data,hashkey) be32_to_cpu(((struct dir_front *)data)->hashtable[hashkey])
 #define AFFS_BLOCK(sb, bh, blk)                (AFFS_HEAD(bh)->table[AFFS_SB(sb)->s_hashsize-1-(blk)])
 
-#ifdef __LITTLE_ENDIAN
-#define BO_EXBITS      0x18UL
-#elif defined(__BIG_ENDIAN)
-#define BO_EXBITS      0x00UL
-#else
-#error Endianness must be known for affs to work.
-#endif
-
 #define AFFS_HEAD(bh)          ((struct affs_head *)(bh)->b_data)
 #define AFFS_TAIL(sb, bh)      ((struct affs_tail *)((bh)->b_data+(sb)->s_blocksize-sizeof(struct affs_tail)))
 #define AFFS_ROOT_HEAD(bh)     ((struct affs_root_head *)(bh)->b_data)