From: Darrick J. Wong Date: Thu, 6 Jan 2022 22:13:22 +0000 (-0800) Subject: xfs: kill XFS_BTREE_MAXLEVELS X-Git-Tag: libxfs-5.16-sync_2022-03-17~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c15c560218ea909aac5402a68600b1f33b79b9d;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: Darrick J. Wong --- 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.