From: Qinghuang Feng Date: Thu, 12 Feb 2009 19:25:23 +0000 (-0500) Subject: Btrfs: remove unused code in split_state() X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a48ddf08ba9bab91efd95e458737afa9d7699623;p=linux-2.6-omap-h63xx.git Btrfs: remove unused code in split_state() These two lines are not used, remove them. Signed-off-by: Qinghuang Feng Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 37d43b516b7..ebe6b29e606 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; }