[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>
diff --git a/fs/jffs2/gc.c b/fs/jffs2/gc.c
index 337ab49..6b5da0a 100644
--- a/fs/jffs2/gc.c
+++ b/fs/jffs2/gc.c
@@ -7,7 +7,7 @@
*
* For licensing information, see the file 'LICENCE' in this directory.
*
- * $Id: gc.c,v 1.149 2005/07/17 06:56:21 dedekind Exp $
+ * $Id: gc.c,v 1.150 2005/07/17 12:01:43 dedekind Exp $
*
*/
@@ -111,7 +111,7 @@
ret->wasted_size = 0;
}
- D2(jffs2_dbg_dump_block_lists(c));
+ jffs2_dbg_dump_block_lists(c);
return ret;
}
@@ -142,7 +142,7 @@
if (c->checked_ino > c->highest_ino) {
printk(KERN_CRIT "Checked all inodes but still 0x%x bytes of unchecked space?\n",
c->unchecked_size);
- D2(jffs2_dbg_dump_block_lists(c));
+ jffs2_dbg_dump_block_lists(c);
spin_unlock(&c->erase_completion_lock);
BUG();
}