xfs: kill the unused XFS_BB_FSB_OFFSET macro
authorAmit Sahrawat <amit.sahrawat83@gmail.com>
Mon, 16 Jan 2012 12:24:36 +0000 (12:24 +0000)
committerBen Myers <bpm@sgi.com>
Thu, 2 Feb 2012 23:08:04 +0000 (17:08 -0600)
Removing the macro, as this is no more needed in the code.
Tried to find the reference when it was last used - but the usage
for this seemed to have been dropped long time ago.

Signed-off-by: Amit Sahrawat <amit.sahrawat83@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_sb.h

index cb6ae715814a8f87026b26f701abe419aa3ed6c7..f429d9d5d325d8f1e48f13efda8b1b9a2d4b6f7e 100644 (file)
@@ -529,7 +529,6 @@ static inline int xfs_sb_version_hasprojid32bit(xfs_sb_t *sbp)
 #define        XFS_BB_TO_FSB(mp,bb)    \
        (((bb) + (XFS_FSB_TO_BB(mp,1) - 1)) >> (mp)->m_blkbb_log)
 #define        XFS_BB_TO_FSBT(mp,bb)   ((bb) >> (mp)->m_blkbb_log)
-#define        XFS_BB_FSB_OFFSET(mp,bb) ((bb) & ((mp)->m_bsize - 1))
 
 /*
  * File system block to byte conversions.