summaryrefslogtreecommitdiff
path: root/fs/btrfs
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2009-04-03 00:46:06 +0400
committerChris Mason <chris.mason@oracle.com>2009-04-03 00:46:06 +0400
commit3e7ad38d20ad113158d1b4c9de0f51c04f50d4f7 (patch)
tree5ff4dc364642eb81ae3f9d57c705234d2fde816f /fs/btrfs
parentff0a5836ac48554b9f3b9d3c5f5bce4ddea11f1f (diff)
downloadlinux-3e7ad38d20ad113158d1b4c9de0f51c04f50d4f7.tar.xz
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>
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/disk-io.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index e68ef7b456b0..a850c3ac196d 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)
ret = extent_range_uptodate(io_tree, start + length,
start + buf_len - 1);
- if (ret == 1)
- return ret;
return ret;
}