Patchwork [1/2] ext4: remove unused macro MB_DEFAULT_MAX_GROUPS_TO_SCAN

login
register
mail settings
Submitter Robin Dong
Date April 13, 2012, 6:30 a.m.
Message ID <1334298657-20408-1-git-send-email-hao.bigrat@gmail.com>
Download mbox | patch
Permalink /patch/152251/
State Accepted, archived
Headers show

Comments

Robin Dong - April 13, 2012, 6:30 a.m.
From: Robin Dong <sanbai@taobao.com>

remove unused macro MB_DEFAULT_MAX_GROUPS_TO_SCAN

Signed-off-by: Robin Dong <sanbai@taobao.com>
---
 fs/ext4/mballoc.h |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
Theodore Ts'o - Aug. 13, 2012, 2:01 p.m.
On Thu, Apr 12, 2012 at 08:30:56PM -0000, Robin Dong wrote:
> From: Robin Dong <sanbai@taobao.com>
> 
> remove unused macro MB_DEFAULT_MAX_GROUPS_TO_SCAN
> 
> Signed-off-by: Robin Dong <sanbai@taobao.com>

Applied, thanks.  Apologies for the delay in processing this patch.

	 	  	    	    	  - Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/fs/ext4/mballoc.h b/fs/ext4/mballoc.h
index c070618..3ccd889 100644
--- a/fs/ext4/mballoc.h
+++ b/fs/ext4/mballoc.h
@@ -65,11 +65,6 @@  extern u8 mb_enable_debug;
 #define MB_DEFAULT_MIN_TO_SCAN		10
 
 /*
- * How many groups mballoc will scan looking for the best chunk
- */
-#define MB_DEFAULT_MAX_GROUPS_TO_SCAN	5
-
-/*
  * with 'ext4_mb_stats' allocator will collect stats that will be
  * shown at umount. The collecting costs though!
  */