diff mbox

[1/9] btrfs: remove unused variable from btrfs_search_forward

Message ID 1383600869-10085-2-git-send-email-valentina.giusti@microon.de (mailing list archive)
State New, archived
Headers show

Commit Message

Valentina Giusti Nov. 4, 2013, 9:34 p.m. UTC
The variable blockptr in btrfs_search_forward is not used since commit
de78b51a2852bddccd6535e9e12de65f92787a1e
(btrfs: remove cache only arguments from defrag path)

Signed-off-by: Valentina Giusti <valentina.giusti@microon.de>
---
 fs/btrfs/ctree.c |    2 --
 1 file changed, 2 deletions(-)
diff mbox

Patch

diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c
index 61b5bcd..ea20801 100644
--- a/fs/btrfs/ctree.c
+++ b/fs/btrfs/ctree.c
@@ -4911,10 +4911,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++;