aboutsummaryrefslogtreecommitdiffstats
path: root/fs/hpfs
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-05-31 19:26:11 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-05-31 20:49:27 -0400
commit7bc1bac77a69011550ce0613f4a23712a002d7ad (patch)
tree4cf913aa7f3b459afcdb499a41ae25884ff24d87 /fs/hpfs
parent11475975dd3c0a8e639f1544ef6530373de5979e (diff)
HPFS: remove PRINTK() macro
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> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hpfs')
-rw-r--r--fs/hpfs/buffer.c1
-rw-r--r--fs/hpfs/hpfs_fn.h7
2 files changed, 0 insertions, 8 deletions
diff --git a/fs/hpfs/buffer.c b/fs/hpfs/buffer.c
index 9ecde27d1e2..f49d1498aa2 100644
--- a/fs/hpfs/buffer.c
+++ b/fs/hpfs/buffer.c
@@ -156,7 +156,6 @@ void hpfs_brelse4(struct quad_buffer_head *qbh)
156 156
157void hpfs_mark_4buffers_dirty(struct quad_buffer_head *qbh) 157void hpfs_mark_4buffers_dirty(struct quad_buffer_head *qbh)
158{ 158{
159 PRINTK(("hpfs_mark_4buffers_dirty\n"));
160 memcpy(qbh->bh[0]->b_data, qbh->data, 512); 159 memcpy(qbh->bh[0]->b_data, qbh->data, 512);
161 memcpy(qbh->bh[1]->b_data, qbh->data + 512, 512); 160 memcpy(qbh->bh[1]->b_data, qbh->data + 512, 512);
162 memcpy(qbh->bh[2]->b_data, qbh->data + 2 * 512, 512); 161 memcpy(qbh->bh[2]->b_data, qbh->data + 2 * 512, 512);
diff --git a/fs/hpfs/hpfs_fn.h b/fs/hpfs/hpfs_fn.h
index de946170ebb..6d2d5008fa4 100644
--- a/fs/hpfs/hpfs_fn.h
+++ b/fs/hpfs/hpfs_fn.h
@@ -35,13 +35,6 @@
35 35
36#define CHKCOND(x,y) if (!(x)) printk y 36#define CHKCOND(x,y) if (!(x)) printk y
37 37
38#ifdef DBG
39#define PRINTK(x) printk x
40#else
41#undef PRINTK
42#define PRINTK(x)
43#endif
44
45struct hpfs_inode_info { 38struct hpfs_inode_info {
46 loff_t mmu_private; 39 loff_t mmu_private;
47 ino_t i_parent_dir; /* (directories) gives fnode of parent dir */ 40 ino_t i_parent_dir; /* (directories) gives fnode of parent dir */