Browse Source

Btrfs: remove dead code

Remove an unneeded return statement and conditional

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Dan Carpenter 16 years ago
parent
commit
3e7ad38d20
1 changed files with 0 additions and 2 deletions
  1. 0 2
      fs/btrfs/disk-io.c

+ 0 - 2
fs/btrfs/disk-io.c

@@ -1413,8 +1413,6 @@ static int bio_ready_for_csum(struct bio *bio)
 
 	ret = extent_range_uptodate(io_tree, start + length,
 				    start + buf_len - 1);
-	if (ret == 1)
-		return ret;
 	return ret;
 }