[JFFS2] remove junk prototypes

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri Jan 9 15:59:01 EST 2009


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=bcaa7e788a92e059b7e3c1d1ace91d65bba1b32b
Commit:     bcaa7e788a92e059b7e3c1d1ace91d65bba1b32b
Parent:     4768e5a3ddbdcee2630de9152b3151c4566acfbf
Author:     Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
AuthorDate: Thu Jan 8 19:38:07 2009 +0200
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Fri Jan 9 20:56:43 2009 +0000

    [JFFS2] remove junk prototypes
    
    'rb_prev()', 'rb_next()' and 'rb_replace_node()' are declared in
    include/linux/rbtree.h, no need for JFFS2 to re-declare them. I
    believe these are left-overs from the old days when the common
    RB tree code did not have those call and JFFS2 had private
    implementation.
    
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 fs/jffs2/nodelist.h |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/fs/jffs2/nodelist.h b/fs/jffs2/nodelist.h
index 1750445..507ed6e 100644
--- a/fs/jffs2/nodelist.h
+++ b/fs/jffs2/nodelist.h
@@ -366,9 +366,6 @@ void jffs2_free_ino_caches(struct jffs2_sb_info *c);
 void jffs2_free_raw_node_refs(struct jffs2_sb_info *c);
 struct jffs2_node_frag *jffs2_lookup_node_frag(struct rb_root *fragtree, uint32_t offset);
 void jffs2_kill_fragtree(struct rb_root *root, struct jffs2_sb_info *c_delete);
-struct rb_node *rb_next(struct rb_node *);
-struct rb_node *rb_prev(struct rb_node *);
-void rb_replace_node(struct rb_node *victim, struct rb_node *new, struct rb_root *root);
 int jffs2_add_full_dnode_to_inode(struct jffs2_sb_info *c, struct jffs2_inode_info *f, struct jffs2_full_dnode *fn);
 uint32_t jffs2_truncate_fragtree (struct jffs2_sb_info *c, struct rb_root *list, uint32_t size);
 struct jffs2_raw_node_ref *jffs2_link_node_ref(struct jffs2_sb_info *c,



More information about the linux-mtd-cvs mailing list