diff options
author | Liu Bo <bo.li.liu@oracle.com> | 2013-10-08 18:19:43 +0800 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-11-11 21:59:56 -0500 |
commit | 498456d33e2ee5150f045e604e4531b088083e7a (patch) | |
tree | 72268a1240eb96fe735361a04d610b50039b00a3 /fs/btrfs | |
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')
-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: * 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++; |