]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
HPFS: remove PRINTK() macro
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 3 May 2012 05:44:35 +0000 (15:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:53 +0000 (15:46 +1000)
The PRINTK() macro isn't really used.  Let's just remove it because it
is ugly and out of date.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/hpfs/buffer.c
fs/hpfs/hpfs_fn.h

index 9ecde27d1e297ed3d42a742352f469f1bf2dfb9a..f49d1498aa2e98d3a1bc46fff59d67ca45f04a4e 100644 (file)
@@ -156,7 +156,6 @@ void hpfs_brelse4(struct quad_buffer_head *qbh)
 
 void hpfs_mark_4buffers_dirty(struct quad_buffer_head *qbh)
 {
-       PRINTK(("hpfs_mark_4buffers_dirty\n"));
        memcpy(qbh->bh[0]->b_data, qbh->data, 512);
        memcpy(qbh->bh[1]->b_data, qbh->data + 512, 512);
        memcpy(qbh->bh[2]->b_data, qbh->data + 2 * 512, 512);
index de946170ebb1092937a1efd5f8dbd104f064d170..6d2d5008fa435f22dcb876828e8b23984d3044b5 100644 (file)
 
 #define CHKCOND(x,y) if (!(x)) printk y
 
-#ifdef DBG
-#define PRINTK(x) printk x
-#else
-#undef PRINTK
-#define PRINTK(x)
-#endif
-
 struct hpfs_inode_info {
        loff_t mmu_private;
        ino_t i_parent_dir;     /* (directories) gives fnode of parent dir */