From: Dan Carpenter Date: Thu, 2 Apr 2009 20:46:06 +0000 (-0400) Subject: Btrfs: remove dead code X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3e7ad38d20ad113158d1b4c9de0f51c04f50d4f7;p=linux-2.6-omap-h63xx.git Btrfs: remove dead code Remove an unneeded return statement and conditional Signed-off-by: Dan Carpenter Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index e68ef7b456b..a850c3ac196 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; }