btrfs/extent_io.c: remove the useless assignment to entry in tree_insert
PATCH 1/1 btrfs/extent_io.c: remove the useless assignment to entry in tree_insert
In tree_insert, entry is used in the loop only, and is useless out of the loop. Remove the useless assignment after the loop.
Signed-off-by Wang Sheng-Hui <[email protected]>
--- fs/btrfs/extent_io.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
fs/btrfs/extent_io.c +0 -1
@@ -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 ;
Signature · 1 line
1.7.1