summaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
authorQinghuang Feng <qhfeng.kernel@gmail.com>2009-02-12 20:25:23 +0100
committerChris Mason <chris.mason@oracle.com>2009-02-12 20:25:23 +0100
commita48ddf08ba9bab91efd95e458737afa9d7699623 (patch)
tree58fb45f4b54d3a18108f636528337a09c0a08cc7 /fs/btrfs
parentBtrfs: remove btrfs_init_path (diff)
downloadlinux-a48ddf08ba9bab91efd95e458737afa9d7699623.tar.xz
linux-a48ddf08ba9bab91efd95e458737afa9d7699623.zip
Btrfs: remove unused code in split_state()
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>
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/extent_io.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c
index 37d43b516b79..ebe6b29e6069 100644
--- a/fs/btrfs/extent_io.c
+++ b/fs/btrfs/extent_io.c
@@ -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;
}