Skip to content

Commit

Permalink
Btrfs: remove dead code
Browse files Browse the repository at this point in the history
Remove an unneeded return statement and conditional

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
  • Loading branch information
Dan Carpenter authored and Chris Mason committed Apr 2, 2009
1 parent ff0a583 commit 3e7ad38
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/btrfs/disk-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 3e7ad38

Please sign in to comment.