diff options
author | Dan Carpenter <error27@gmail.com> | 2009-04-02 16:46:06 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-04-02 16:46:06 -0400 |
commit | 3e7ad38d20ad113158d1b4c9de0f51c04f50d4f7 (patch) | |
tree | 5ff4dc364642eb81ae3f9d57c705234d2fde816f /fs/btrfs/disk-io.c | |
parent | ff0a5836ac48554b9f3b9d3c5f5bce4ddea11f1f (diff) |
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/disk-io.c')
-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 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) | |||
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 | ||