aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/rgrp.c
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linux.alibaba.com>2020-01-21 16:49:17 +0800
committerAndreas Gruenbacher <agruenba@redhat.com>2020-01-21 11:19:45 +0100
commitc04f2e0dd5309607dbc425f02b5ac076b395f19d (patch)
tree85e7fd0050c472c694cdc73731776319f73d8da1 /fs/gfs2/rgrp.c
parentfs/gfs2: remove unused IS_DINODE and IS_LEAF macros (diff)
downloadlinux-dev-c04f2e0dd5309607dbc425f02b5ac076b395f19d.tar.xz
linux-dev-c04f2e0dd5309607dbc425f02b5ac076b395f19d.zip
gfs2: remove unused LBIT macros
Since commit 223b2b889f37 ("GFS2: Fix alignment issue and tidy gfs2_bitfit"), these 3 macros aren't used anymore, so remove them. Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to '')
-rw-r--r--fs/gfs2/rgrp.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c
index 2466bb44a23c..e7bf91ec231c 100644
--- a/fs/gfs2/rgrp.c
+++ b/fs/gfs2/rgrp.c
@@ -36,16 +36,6 @@
#define BFITNOENT ((u32)~0)
#define NO_BLOCK ((u64)~0)
-#if BITS_PER_LONG == 32
-#define LBITMASK (0x55555555UL)
-#define LBITSKIP55 (0x55555555UL)
-#define LBITSKIP00 (0x00000000UL)
-#else
-#define LBITMASK (0x5555555555555555UL)
-#define LBITSKIP55 (0x5555555555555555UL)
-#define LBITSKIP00 (0x0000000000000000UL)
-#endif
-
/*
* These routines are used by the resource group routines (rgrp.c)
* to keep track of block allocation. Each block is represented by two