From: Alex Shi Date: Tue, 21 Jan 2020 08:49:12 +0000 (+0800) Subject: fs/gfs2: remove unused IS_DINODE and IS_LEAF macros X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b3ca4e447dba6c30c7867a1353712e3507dc5110;p=linux.git fs/gfs2: remove unused IS_DINODE and IS_LEAF macros Since commit 1579343a73e3 ("GFS2: Remove dirent_first() function"), these macros aren't used any more, so remove them. Signed-off-by: Alex Shi Signed-off-by: Andreas Gruenbacher --- diff --git a/fs/gfs2/dir.c b/fs/gfs2/dir.c index eb9c0578978fe..c8b62577e2f27 100644 --- a/fs/gfs2/dir.c +++ b/fs/gfs2/dir.c @@ -73,9 +73,6 @@ #include "bmap.h" #include "util.h" -#define IS_LEAF 1 /* Hashed (leaf) directory */ -#define IS_DINODE 2 /* Linear (stuffed dinode block) directory */ - #define MAX_RA_BLOCKS 32 /* max read-ahead blocks */ #define gfs2_disk_hash2offset(h) (((u64)(h)) >> 1)