From: Kaixu Xia Date: Thu, 7 Jan 2021 20:59:17 +0000 (-0500) Subject: xfs: remove the unused XFS_B_FSB_OFFSET macro X-Git-Tag: v5.11.0-rc0~22 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=9e68bcae0b097dc3395e99f4a6500a8f1bc57175;p=thirdparty%2Fxfsprogs-dev.git xfs: remove the unused XFS_B_FSB_OFFSET macro Source kernel commit: afbd914776db9c035dbe2afa6badb9955ae52492 There are no callers of the XFS_B_FSB_OFFSET macro, so remove it. Signed-off-by: Kaixu Xia Reviewed-by: Dave Chinner Reviewed-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong Signed-off-by: Eric Sandeen --- diff --git a/libxfs/xfs_format.h b/libxfs/xfs_format.h index 8497de6bd..9f7f1300a 100644 --- a/libxfs/xfs_format.h +++ b/libxfs/xfs_format.h @@ -633,7 +633,6 @@ xfs_is_quota_inode(struct xfs_sb *sbp, xfs_ino_t ino) #define XFS_B_TO_FSB(mp,b) \ ((((uint64_t)(b)) + (mp)->m_blockmask) >> (mp)->m_sb.sb_blocklog) #define XFS_B_TO_FSBT(mp,b) (((uint64_t)(b)) >> (mp)->m_sb.sb_blocklog) -#define XFS_B_FSB_OFFSET(mp,b) ((b) & (mp)->m_blockmask) /* * Allocation group header