]> git.neil.brown.name Git - history.git/commitdiff
XFS: remove some bit shifting constants we do not use
authorStephen Lord <lord@sgi.com>
Tue, 15 Oct 2002 01:12:04 +0000 (03:12 +0200)
committerChristoph Hellwig <hch@sgi.com>
Tue, 15 Oct 2002 01:12:04 +0000 (03:12 +0200)
Modid: 2.5.x-xfs:slinx:128887a

fs/xfs/xfs_fs.h

index e29586bbb4fa16dae17e271b38799394bd823af5..0311d1258076cf3b8a83fd70185d9b9ee1e5a66b 100644 (file)
@@ -498,13 +498,5 @@ typedef struct xfs_handle {
 #define BTOBB(bytes)   (((__u64)(bytes) + BBSIZE - 1) >> BBSHIFT)
 #define BTOBBT(bytes)  ((__u64)(bytes) >> BBSHIFT)
 #define BBTOB(bbs)     ((bbs) << BBSHIFT)
-#define OFFTOBB(bytes) (((__u64)(bytes) + BBSIZE - 1) >> BBSHIFT)
-#define OFFTOBBT(bytes) ((__u64)(bytes) >> BBSHIFT)
-#define BBTOOFF(bbs)   ((__u64)(bbs) << BBSHIFT)
-
-#define SEEKLIMIT32    0x7fffffff
-#define BBSEEKLIMIT32  BTOBBT(SEEKLIMIT32)
-#define SEEKLIMIT      0x7fffffffffffffffLL
-#define BBSEEKLIMIT    OFFTOBBT(SEEKLIMIT)
 
 #endif /* _LINUX_XFS_FS_H */