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

Commit fd5e62a3 authored by Wang Sheng-Hui's avatar Wang Sheng-Hui Committed by Josef Bacik
Browse files

Btrfs: remove the useless assignment to *entry in function tree_insert of file extent_io.c



In tree_insert, var *entry is used in the loop only, and is useless
out of the loop. Remove the useless assignment after the loop.

Signed-off-by: default avatarWang Sheng-Hui <shhuiw@gmail.com>
parent 477d7eaf
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -186,7 +186,6 @@ static struct rb_node *tree_insert(struct rb_root *root, u64 offset,
			return parent;
	}

	entry = rb_entry(node, struct tree_entry, rb_node);
	rb_link_node(node, parent, p);
	rb_insert_color(node, root);
	return NULL;