]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
gfs2: remove unused LBIT macros
authorAlex Shi <alex.shi@linux.alibaba.com>
Tue, 21 Jan 2020 08:49:17 +0000 (16:49 +0800)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 21 Jan 2020 10:19:45 +0000 (11:19 +0100)
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>
fs/gfs2/rgrp.c

index 2466bb44a23c510b55f7955affad73b74e38c34a..e7bf91ec231c8868aa3176469f37caec250906f0 100644 (file)
 #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