summaryrefslogtreecommitdiffstats
path: root/fs/jfs
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linux.alibaba.com>2020-01-21 09:49:20 +0100
committerDave Kleikamp <dave.kleikamp@oracle.com>2020-01-21 17:06:55 +0100
commit802a5017ffb27ade616d0fe605f699a3c6303aa3 (patch)
tree346f186205433096ab8a2c74b401b5e7e549cb56 /fs/jfs
parentMerge tag 'fixes_for_v5.5-rc8' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff)
downloadlinux-802a5017ffb27ade616d0fe605f699a3c6303aa3.tar.xz
linux-802a5017ffb27ade616d0fe605f699a3c6303aa3.zip
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