Skip to content

Commit 112bcd2

Browse files
tobluxkdave
authored andcommitted
affs: Remove unused macros GET_END_PTR, AFFS_GET_HASHENTRY
The macros GET_END_PTR() and AFFS_GET_HASHENTRY() are not used anymore and can be removed. Remove them. Signed-off-by: Thorsten Blum <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
1 parent 431c164 commit 112bcd2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fs/affs/affs.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414

1515
/* Ugly macros make the code more pretty. */
1616

17-
#define GET_END_PTR(st,p,sz) ((st *)((char *)(p)+((sz)-sizeof(st))))
18-
#define AFFS_GET_HASHENTRY(data,hashkey) be32_to_cpu(((struct dir_front *)data)->hashtable[hashkey])
1917
#define AFFS_BLOCK(sb, bh, blk) (AFFS_HEAD(bh)->table[AFFS_SB(sb)->s_hashsize-1-(blk)])
2018

2119
#define AFFS_HEAD(bh) ((struct affs_head *)(bh)->b_data)

0 commit comments

Comments
 (0)