linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fs/jfs: remove unused MAXL2PAGES
@ 2020-01-21  8:49 Alex Shi
  2020-01-21 16:07 ` Dave Kleikamp
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Shi @ 2020-01-21  8:49 UTC (permalink / raw)
  Cc: Dave Kleikamp, jfs-discussion, linux-kernel

No one use it from Linux-2.6.12-rc2, so better to remove it.

Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com>
Cc: Dave Kleikamp <shaggy@kernel.org> 
Cc: jfs-discussion@lists.sourceforge.net 
Cc: linux-kernel@vger.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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] fs/jfs: remove unused MAXL2PAGES
  2020-01-21  8:49 [PATCH] fs/jfs: remove unused MAXL2PAGES Alex Shi
@ 2020-01-21 16:07 ` Dave Kleikamp
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Kleikamp @ 2020-01-21 16:07 UTC (permalink / raw)
  To: Alex Shi; +Cc: Dave Kleikamp, jfs-discussion, linux-kernel

On 1/21/20 2:49 AM, Alex Shi wrote:
> No one use it from Linux-2.6.12-rc2, so better to remove it.

Looks good. I'm changing this to "This has never been used."

Applied to jfs-next

Thanks,
Shaggy

> 
> Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com>
> Cc: Dave Kleikamp <shaggy@kernel.org> 
> Cc: jfs-discussion@lists.sourceforge.net 
> Cc: linux-kernel@vger.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
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-21 16:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-21  8:49 [PATCH] fs/jfs: remove unused MAXL2PAGES Alex Shi
2020-01-21 16:07 ` Dave Kleikamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).