fs/gfs2: remove unused IS_DINODE and IS_LEAF macros
authorAlex Shi <alex.shi@linux.alibaba.com>
Tue, 21 Jan 2020 08:49:12 +0000 (16:49 +0800)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 21 Jan 2020 10:19:38 +0000 (11:19 +0100)
Since commit 1579343a73e3 ("GFS2: Remove dirent_first() function"),
these macros aren't used any more, so remove them.

Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/dir.c

index eb9c0578978fe46b62a9c9ad7fee3a97d1e48eab..c8b62577e2f274e6c29931af55c588aaac6b6224 100644 (file)
@@ -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)