xfs: kill XFS_BTREE_MAXLEVELS
authorDarrick J. Wong <djwong@kernel.org>
Thu, 16 Sep 2021 19:30:34 +0000 (12:30 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 19 Oct 2021 18:45:16 +0000 (11:45 -0700)
Nobody uses this symbol anymore, so kill it.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Chandan Babu R <chandan.babu@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/libxfs/xfs_btree.h

index e488bfcc1fc0e79d095d0cd0d06e7bc9a5dbb5a5..fdf7090c74f4593f16eee36798a085d4b234029a 100644 (file)
@@ -92,8 +92,6 @@ uint32_t xfs_btree_magic(int crc, xfs_btnum_t btnum);
 #define XFS_BTREE_STATS_ADD(cur, stat, val)    \
        XFS_STATS_ADD_OFF((cur)->bc_mp, (cur)->bc_statoff + __XBTS_ ## stat, val)
 
-#define        XFS_BTREE_MAXLEVELS     9       /* max of all btrees */
-
 /*
  * The btree cursor zone hands out cursors that can handle up to this many
  * levels.  This is the known maximum for all btree types.