aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2006-03-24 03:16:14 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-24 07:33:24 -0800
commit5b3cf3e0f019fcfe1e0c26aedb4d54b5e5be3a7b (patch)
tree516fa7597b59dfdd934d7f35bc303a8fe578c420
parent53b3531bbbf70ac7551b32d1acc229d94de52658 (diff)
[PATCH] isofs: remove unused debugging macros
Remove unused debugging macros from isofs. The referred debug functions do not exist in the kernel. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--fs/isofs/isofs.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/fs/isofs/isofs.h b/fs/isofs/isofs.h
index 38c75151fc6..439a19b1bf3 100644
--- a/fs/isofs/isofs.h
+++ b/fs/isofs/isofs.h
@@ -178,15 +178,3 @@ extern struct inode_operations isofs_dir_inode_operations;
extern struct file_operations isofs_dir_operations;
extern struct address_space_operations isofs_symlink_aops;
extern struct export_operations isofs_export_ops;
-
-/* The following macros are used to check for memory leaks. */
-#ifdef LEAK_CHECK
-#define free_s leak_check_free_s
-#define malloc leak_check_malloc
-#define sb_bread leak_check_bread
-#define brelse leak_check_brelse
-extern void * leak_check_malloc(unsigned int size);
-extern void leak_check_free_s(void * obj, int size);
-extern struct buffer_head * leak_check_bread(struct super_block *sb, int block);
-extern void leak_check_brelse(struct buffer_head * bh);
-#endif /* LEAK_CHECK */