Skip to content

Commit b3ca4e4

Browse files
alexshiAndreas Gruenbacher
authored andcommitted
fs/gfs2: remove unused IS_DINODE and IS_LEAF macros
Since commit 1579343 ("GFS2: Remove dirent_first() function"), these macros aren't used any more, so remove them. Signed-off-by: Alex Shi <[email protected]> Signed-off-by: Andreas Gruenbacher <[email protected]>
1 parent f7be987 commit b3ca4e4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

fs/gfs2/dir.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@
7373
#include "bmap.h"
7474
#include "util.h"
7575

76-
#define IS_LEAF 1 /* Hashed (leaf) directory */
77-
#define IS_DINODE 2 /* Linear (stuffed dinode block) directory */
78-
7976
#define MAX_RA_BLOCKS 32 /* max read-ahead blocks */
8077

8178
#define gfs2_disk_hash2offset(h) (((u64)(h)) >> 1)

0 commit comments

Comments
 (0)