[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1579596560-257920-1-git-send-email-alex.shi@linux.alibaba.com>
Date: Tue, 21 Jan 2020 16:49:20 +0800
From: Alex Shi <alex.shi@...ux.alibaba.com>
To: unlisted-recipients:; (no To-header on input)
Cc: Dave Kleikamp <shaggy@...nel.org>,
jfs-discussion@...ts.sourceforge.net, linux-kernel@...r.kernel.org
Subject: [PATCH] fs/jfs: remove unused MAXL2PAGES
No one use it from Linux-2.6.12-rc2, so better to remove it.
Signed-off-by: Alex Shi <alex.shi@...ux.alibaba.com>
Cc: Dave Kleikamp <shaggy@...nel.org>
Cc: jfs-discussion@...ts.sourceforge.net
Cc: linux-kernel@...r.kernel.org
---
fs/jfs/jfs_dmap.c | 1 -
1 file changed, 1 deletion(-)
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
--
1.8.3.1
Powered by blists - more mailing lists