Btrfs: remove unused code in split_state()
authorQinghuang Feng <qhfeng.kernel@gmail.com>
Thu, 12 Feb 2009 19:25:23 +0000 (14:25 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 12 Feb 2009 19:25:23 +0000 (14:25 -0500)
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>
fs/btrfs/extent_io.c

index 37d43b516b79bdb7cb64dd153a06a805be59dd94..ebe6b29e60698156250708766c70bb74b903bfb6 100644 (file)
@@ -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;
        }