aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Shi2020-01-21 16:49:20 +0800
committerDave Kleikamp2020-01-21 10:06:55 -0600
commit802a5017ffb27ade616d0fe605f699a3c6303aa3 (patch)
tree346f186205433096ab8a2c74b401b5e7e549cb56
parentd96d875ef5dd372f533059a44f98e92de9cf0d42 (diff)
jfs: remove unused MAXL2PAGES
This has never been used. Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com> Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com> Cc: jfs-discussion@lists.sourceforge.net Cc: linux-kernel@vger.kernel.org
-rw-r--r--fs/jfs/jfs_dmap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/jfs/jfs_dmap.c b/fs/jfs/jfs_dmap.c
index caade185e568..7dfcab2a2da6 100644
--- a/fs/jfs/jfs_dmap.c
+++ b/fs/jfs/jfs_dmap.c
@@ -4027,7 +4027,6 @@ static int dbGetL2AGSize(s64 nblocks)
*/
#define MAXL0PAGES (1 + LPERCTL)
#define MAXL1PAGES (1 + LPERCTL * MAXL0PAGES)
-#define MAXL2PAGES (1 + LPERCTL * MAXL1PAGES)
/*
* convert number of map pages to the zero origin top dmapctl level