Skip to content

Commit

Permalink
Btrfs: remove unused code in split_state()
Browse files Browse the repository at this point in the history
These two lines are not used, remove them.

Signed-off-by: Qinghuang Feng <qhfeng.kernel@gmail.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
  • Loading branch information
Qinghuang Feng authored and Chris Mason committed Feb 12, 2009
1 parent e00f730 commit a48ddf0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/btrfs/extent_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,6 @@ static int split_state(struct extent_io_tree *tree, struct extent_state *orig,

node = tree_insert(&tree->state, prealloc->end, &prealloc->rb_node);
if (node) {
struct extent_state *found;
found = rb_entry(node, struct extent_state, rb_node);
free_extent_state(prealloc);
return -EEXIST;
}
Expand Down

0 comments on commit a48ddf0

Please sign in to comment.