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

Commit 498456d3 authored by Liu Bo's avatar Liu Bo Committed by Chris Mason
Browse files

Btrfs: kill unused code in btrfs_search_forward



After commit de78b51a
(btrfs: remove cache only arguments from defrag path), @blockptr is no more
used.

Signed-off-by: default avatarLiu Bo <bo.li.liu@oracle.com>
Signed-off-by: default avatarJosef Bacik <jbacik@fusionio.com>
Signed-off-by: default avatarChris Mason <chris.mason@fusionio.com>
parent 8319bfe1
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -4914,10 +4914,8 @@ int btrfs_search_forward(struct btrfs_root *root, struct btrfs_key *min_key,
		 * If it is too old, old, skip to the next one.
		 */
		while (slot < nritems) {
			u64 blockptr;
			u64 gen;

			blockptr = btrfs_node_blockptr(cur, slot);
			gen = btrfs_node_ptr_generation(cur, slot);
			if (gen < min_trans) {
				slot++;