[JFFS2] Debug code clean up - step 2
If debugging is disabled, define debugging functions as empty macros, instead of using Dx() explicitly. Signed-off-by: Artem B. Bityutskiy <dedekind@infradead.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:

committato da
Thomas Gleixner

parent
2b79adcca1
commit
61a39b6941
@@ -7,7 +7,7 @@
|
||||
*
|
||||
* For licensing information, see the file 'LICENCE' in this directory.
|
||||
*
|
||||
* $Id: build.c,v 1.72 2005/07/17 06:56:20 dedekind Exp $
|
||||
* $Id: build.c,v 1.74 2005/07/17 12:01:42 dedekind Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -168,7 +168,7 @@ static int jffs2_build_filesystem(struct jffs2_sb_info *c)
|
||||
c->flags &= ~JFFS2_SB_FLAG_BUILDING;
|
||||
|
||||
D1(printk(KERN_DEBUG "Pass 3 complete\n"));
|
||||
D2(jffs2_dbg_dump_block_lists(c));
|
||||
jffs2_dbg_dump_block_lists(c);
|
||||
|
||||
/* Rotate the lists by some number to ensure wear levelling */
|
||||
jffs2_rotate_lists(c);
|
||||
|
Fai riferimento in un nuovo problema
Block a user