8 Jan 2005 22:47
[2.6 patch] fs/jffs/: possible cleanups
Adrian Bunk <bunk <at> stusta.de>
2005-01-08 21:47:52 GMT
2005-01-08 21:47:52 GMT
The patch below contains the following possible cleanups:
- make some needlessly global code static
- #if 0 the following unused functions:
- intrep.c: jffs_print_file
- jffs_fm.c: jffs_print_node_ref
diffstat output:
fs/jffs/inode-v23.c | 10 +++----
fs/jffs/intrep.c | 60 ++++++++++++++++++++++++++++++-------------
fs/jffs/intrep.h | 32 +---------------------
fs/jffs/jffs_fm.c | 12 ++++++--
fs/jffs/jffs_fm.h | 6 +---
include/linux/jffs.h | 1
6 files changed, 61 insertions(+), 60 deletions(-)
Signed-off-by: Adrian Bunk <bunk <at> stusta.de>
--- linux-2.6.10-mm2-full/fs/jffs/inode-v23.c.old 2005-01-08 04:00:49.000000000 +0100
+++ linux-2.6.10-mm2-full/fs/jffs/inode-v23.c 2005-01-08 04:01:36.000000000 +0100
<at> <at> -334,7 +334,7 <at> <at>
} /* jffs_notify_change() */
-struct inode *
+static struct inode *
jffs_new_inode(const struct inode * dir, struct jffs_raw_inode *raw_inode,
int * err)
{
<at> <at> -376,7 +376,7 <at> <at>
}
(Continue reading)
RSS Feed