diff options
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/disk-io.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index e68ef7b456b..a850c3ac196 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -1413,8 +1413,6 @@ static int bio_ready_for_csum(struct bio *bio) | |||
1413 | 1413 | ||
1414 | ret = extent_range_uptodate(io_tree, start + length, | 1414 | ret = extent_range_uptodate(io_tree, start + length, |
1415 | start + buf_len - 1); | 1415 | start + buf_len - 1); |
1416 | if (ret == 1) | ||
1417 | return ret; | ||
1418 | return ret; | 1416 | return ret; |
1419 | } | 1417 | } |
1420 | 1418 | ||