From c967ee0a69cdcc2c252eb29236a7b5980f1b7886 Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Thu, 28 Apr 2022 15:39:03 -0400 Subject: [PATCH] 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 --- libxfs/xfs_btree.h | 2 -- 1 file changed, 2 deletions(-) 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. -- 2.47.2