* [PATCH] isofs: remove unused debugging macros
@ 2006-02-05 18:14 Pekka Enberg
0 siblings, 0 replies; only message in thread
From: Pekka Enberg @ 2006-02-05 18:14 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel
From: Pekka Enberg <penberg@cs.helsinki.fi>
This patch removes unused debugging macros from isofs. The referred debug
functions do not exist in the kernel.
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
---
fs/isofs/isofs.h | 12 ------------
1 file changed, 12 deletions(-)
Index: 2.6/fs/isofs/isofs.h
===================================================================
--- 2.6.orig/fs/isofs/isofs.h
+++ 2.6/fs/isofs/isofs.h
@@ -178,15 +178,3 @@ extern struct inode_operations isofs_dir
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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-02-05 18:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-05 18:14 [PATCH] isofs: remove unused debugging macros Pekka Enberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox