diff options
author | Liu Bo <bo.li.liu@oracle.com> | 2013-10-08 06:19:43 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-11-11 21:59:56 -0500 |
commit | 498456d33e2ee5150f045e604e4531b088083e7a (patch) | |
tree | 72268a1240eb96fe735361a04d610b50039b00a3 /fs/btrfs/ctree.c | |
parent | 8319bfe13642ea2d411c885400377d5fc6f32271 (diff) |
Btrfs: kill unused code in btrfs_search_forward
After commit de78b51a2852bddccd6535e9e12de65f92787a1e
(btrfs: remove cache only arguments from defrag path), @blockptr is no more
used.
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r-- | fs/btrfs/ctree.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index 33e9dbdd043d..8f3d6f893585 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c | |||
@@ -4914,10 +4914,8 @@ again: | |||
4914 | * If it is too old, old, skip to the next one. | 4914 | * If it is too old, old, skip to the next one. |
4915 | */ | 4915 | */ |
4916 | while (slot < nritems) { | 4916 | while (slot < nritems) { |
4917 | u64 blockptr; | ||
4918 | u64 gen; | 4917 | u64 gen; |
4919 | 4918 | ||
4920 | blockptr = btrfs_node_blockptr(cur, slot); | ||
4921 | gen = btrfs_node_ptr_generation(cur, slot); | 4919 | gen = btrfs_node_ptr_generation(cur, slot); |
4922 | if (gen < min_trans) { | 4920 | if (gen < min_trans) { |
4923 | slot++; | 4921 | slot++; |