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:
parent
ff0a5836ac
commit
3e7ad38d20
|
@ -1413,8 +1413,6 @@ static int bio_ready_for_csum(struct bio *bio)
|
||||||
|
|
||||||
ret = extent_range_uptodate(io_tree, start + length,
|
ret = extent_range_uptodate(io_tree, start + length,
|
||||||
start + buf_len - 1);
|
start + buf_len - 1);
|
||||||
if (ret == 1)
|
|
||||||
return ret;
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue