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>
This commit is contained in:
Dan Carpenter 2009-04-02 16:46:06 -04:00 committed by Chris Mason
parent ff0a5836ac
commit 3e7ad38d20
1 changed files with 0 additions and 2 deletions

View File

@ -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;
}