diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-04-06 01:40:50 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-29 23:28:34 -0400 |
commit | 66f8f50920472f9b6d0a797a29dc8a8ada0b24c3 (patch) | |
tree | cda39d013a9054b8db434439d64cbf1aca54ba2b /fs/affs | |
parent | af569596a9b85626564149c5c4c0c17d05baa2da (diff) |
affs: bury unused macros
... unused since 2.4.4.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/affs')
-rw-r--r-- | fs/affs/affs.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/affs/affs.h b/fs/affs/affs.h index 45a0ce45d7b4..1fceb320d2f2 100644 --- a/fs/affs/affs.h +++ b/fs/affs/affs.h | |||
@@ -18,14 +18,6 @@ | |||
18 | #define AFFS_GET_HASHENTRY(data,hashkey) be32_to_cpu(((struct dir_front *)data)->hashtable[hashkey]) | 18 | #define AFFS_GET_HASHENTRY(data,hashkey) be32_to_cpu(((struct dir_front *)data)->hashtable[hashkey]) |
19 | #define AFFS_BLOCK(sb, bh, blk) (AFFS_HEAD(bh)->table[AFFS_SB(sb)->s_hashsize-1-(blk)]) | 19 | #define AFFS_BLOCK(sb, bh, blk) (AFFS_HEAD(bh)->table[AFFS_SB(sb)->s_hashsize-1-(blk)]) |
20 | 20 | ||
21 | #ifdef __LITTLE_ENDIAN | ||
22 | #define BO_EXBITS 0x18UL | ||
23 | #elif defined(__BIG_ENDIAN) | ||
24 | #define BO_EXBITS 0x00UL | ||
25 | #else | ||
26 | #error Endianness must be known for affs to work. | ||
27 | #endif | ||
28 | |||
29 | #define AFFS_HEAD(bh) ((struct affs_head *)(bh)->b_data) | 21 | #define AFFS_HEAD(bh) ((struct affs_head *)(bh)->b_data) |
30 | #define AFFS_TAIL(sb, bh) ((struct affs_tail *)((bh)->b_data+(sb)->s_blocksize-sizeof(struct affs_tail))) | 22 | #define AFFS_TAIL(sb, bh) ((struct affs_tail *)((bh)->b_data+(sb)->s_blocksize-sizeof(struct affs_tail))) |
31 | #define AFFS_ROOT_HEAD(bh) ((struct affs_root_head *)(bh)->b_data) | 23 | #define AFFS_ROOT_HEAD(bh) ((struct affs_root_head *)(bh)->b_data) |