From: Darrick J. Wong Date: Thu, 28 Apr 2022 19:39:03 +0000 (-0400) Subject: xfs: kill XFS_BTREE_MAXLEVELS X-Git-Tag: v5.16.0-rc0~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c967ee0a69cdcc2c252eb29236a7b5980f1b7886;p=thirdparty%2Fxfsprogs-dev.git xfs: kill XFS_BTREE_MAXLEVELS Source kernel commit: bc8883eb775dd18d8b84733d8b3a3955b72d103a Nobody uses this symbol anymore, so kill it. Signed-off-by: Darrick J. Wong Reviewed-by: Chandan Babu R Reviewed-by: Dave Chinner Signed-off-by: Eric Sandeen --- diff --git a/libxfs/xfs_btree.h b/libxfs/xfs_btree.h index e488bfcc1..fdf7090c7 100644 --- a/libxfs/xfs_btree.h +++ b/libxfs/xfs_btree.h @@ -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.