Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a48ddf08 authored by Qinghuang Feng's avatar Qinghuang Feng Committed by Chris Mason
Browse files

Btrfs: remove unused code in split_state()



These two lines are not used, remove them.

Signed-off-by: default avatarQinghuang Feng <qhfeng.kernel@gmail.com>
Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent e00f7308
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
	}