xfs
[Top] [All Lists]

[PATCH 1/1] xfs: kill the unused XFS_BB_FSB_OFFSET macro

To: Ben Myers <bpm@xxxxxxx>, Alex Elder <elder@xxxxxxxxxx>, Christoph Hellwig <hch@xxxxxx>
Subject: [PATCH 1/1] xfs: kill the unused XFS_BB_FSB_OFFSET macro
From: Amit Sahrawat <amit.sahrawat83@xxxxxxxxx>
Date: Mon, 16 Jan 2012 17:54:36 +0530
Cc: xfs-masters@xxxxxxxxxxx, xfs@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, Amit Sahrawat <amit.sahrawat83@xxxxxxxxx>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; bh=WU8A2hyaI0AXqse9zOO3UwRXU7uipeinPcw/g9yZDFA=; b=M2FIePAWjXe1Nr1ifNSXxIjCQ+ssWJqba7bxtxdOoIGIWusz3f7DKi4vIYPHyZIaBA nrHfNzmG1q+KUlqth4eNXI+UZ0j8XIjhrF1vR0l5xgHPhdJbcdIp3yuhhVoasbKBgruG 8N2QsLQGfuHclyLhM02SwUZyc+pGD7JLPS4UE=
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@xxxxxxxxx>
Reviewed-by: Christoph Hellwig <hch@xxxxxx>
---
 fs/xfs/xfs_sb.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/fs/xfs/xfs_sb.h b/fs/xfs/xfs_sb.h
index cb6ae71..f429d9d 100644
--- a/fs/xfs/xfs_sb.h
+++ b/fs/xfs/xfs_sb.h
@@ -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.
-- 
1.7.2.3

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH 1/1] xfs: kill the unused XFS_BB_FSB_OFFSET macro, Amit Sahrawat <=