xfs: remove rt-wrappers from xfs_format.h
[linux-block.git] / fs / xfs / libxfs / xfs_format.h
index e6ca188e2271256c22254c64d5d99a436d62ffc7..7d2873a79a48a5cc538dad1499637c76547f4fd7 100644 (file)
@@ -1156,20 +1156,12 @@ static inline bool xfs_dinode_has_large_extent_counts(
 #define        XFS_DFL_RTEXTSIZE       (64 * 1024)             /* 64kB */
 #define        XFS_MIN_RTEXTSIZE       (4 * 1024)              /* 4kB */
 
-#define        XFS_BLOCKSIZE(mp)       ((mp)->m_sb.sb_blocksize)
-#define        XFS_BLOCKMASK(mp)       ((mp)->m_blockmask)
-
 /*
  * RT bit manipulation macros.
  */
 #define        XFS_RTMIN(a,b)  ((a) < (b) ? (a) : (b))
 #define        XFS_RTMAX(a,b)  ((a) > (b) ? (a) : (b))
 
-#define        XFS_RTLOBIT(w)  xfs_lowbit32(w)
-#define        XFS_RTHIBIT(w)  xfs_highbit32(w)
-
-#define        XFS_RTBLOCKLOG(b)       xfs_highbit64(b)
-
 /*
  * Dquot and dquot block format definitions
  */