summaryrefslogtreecommitdiffstats
path: root/fs/jfs
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linux.alibaba.com>2020-01-21 16:49:20 +0800
committerDave Kleikamp <dave.kleikamp@oracle.com>2020-01-21 10:06:55 -0600
commit802a5017ffb27ade616d0fe605f699a3c6303aa3 (patch)
tree346f186205433096ab8a2c74b401b5e7e549cb56 /fs/jfs
parentd96d875ef5dd372f533059a44f98e92de9cf0d42 (diff)
downloadlinux-802a5017ffb27ade616d0fe605f699a3c6303aa3.tar.bz2
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
Diffstat (limited to 'fs/jfs')
-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