summaryrefslogtreecommitdiff
path: root/fs/affs
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@toblux.com>2024-08-15 23:35:01 +0200
committerDavid Sterba <dsterba@suse.com>2024-09-06 17:48:14 +0200
commit112bcd25980e0568e5154837c03b534afb31cc39 (patch)
treecf11ad88b897d30898fcca23f9fb6dc58f895778 /fs/affs
parent431c1646e1f86b949fa3685efc50b660a364c2b6 (diff)
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 <thorsten.blum@toblux.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/affs')
-rw-r--r--fs/affs/affs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/affs/affs.h b/fs/affs/affs.h
index 2e612834329a..e8c2c4535cb3 100644
--- a/fs/affs/affs.h
+++ b/fs/affs/affs.h
@@ -14,8 +14,6 @@
/* Ugly macros make the code more pretty. */
-#define GET_END_PTR(st,p,sz) ((st *)((char *)(p)+((sz)-sizeof(st))))
-#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)])
#define AFFS_HEAD(bh) ((struct affs_head *)(bh)->b_data)