diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-01-08 12:38:07 -0500 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-01-09 16:05:21 -0500 |
commit | ab5610b434645518aca6e4de5ad851f9fef006f3 (patch) | |
tree | a4daa31cc9b9a55a4cf687a37ba523fd28582655 /fs | |
parent | 7c51d57e9d7fbce89f79c41dc8da383101dbe9c6 (diff) |
[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@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs')
-rw-r--r-- | 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 1750445556c3..507ed6ec1847 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); | |||
366 | void jffs2_free_raw_node_refs(struct jffs2_sb_info *c); | 366 | void jffs2_free_raw_node_refs(struct jffs2_sb_info *c); |
367 | struct jffs2_node_frag *jffs2_lookup_node_frag(struct rb_root *fragtree, uint32_t offset); | 367 | struct jffs2_node_frag *jffs2_lookup_node_frag(struct rb_root *fragtree, uint32_t offset); |
368 | void jffs2_kill_fragtree(struct rb_root *root, struct jffs2_sb_info *c_delete); | 368 | void jffs2_kill_fragtree(struct rb_root *root, struct jffs2_sb_info *c_delete); |
369 | struct rb_node *rb_next(struct rb_node *); | ||
370 | struct rb_node *rb_prev(struct rb_node *); | ||
371 | void rb_replace_node(struct rb_node *victim, struct rb_node *new, struct rb_root *root); | ||
372 | int jffs2_add_full_dnode_to_inode(struct jffs2_sb_info *c, struct jffs2_inode_info *f, struct jffs2_full_dnode *fn); | 369 | int jffs2_add_full_dnode_to_inode(struct jffs2_sb_info *c, struct jffs2_inode_info *f, struct jffs2_full_dnode *fn); |
373 | uint32_t jffs2_truncate_fragtree (struct jffs2_sb_info *c, struct rb_root *list, uint32_t size); | 370 | uint32_t jffs2_truncate_fragtree (struct jffs2_sb_info *c, struct rb_root *list, uint32_t size); |
374 | struct jffs2_raw_node_ref *jffs2_link_node_ref(struct jffs2_sb_info *c, | 371 | struct jffs2_raw_node_ref *jffs2_link_node_ref(struct jffs2_sb_info *c, |