From: Alasdair G Kergon Date: Tue, 24 Jul 2012 23:25:12 +0000 (+1000) Subject: Remove redundant bvm->bi_sector self-assignment in origin_merge(). X-Git-Tag: next-20120725~49^2~51 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=33f078a52e427b188baf41dbafc30acd54a8e5b6;p=karo-tx-linux.git Remove redundant bvm->bi_sector self-assignment in origin_merge(). Signed-off-by: Alasdair G Kergon --- diff --git a/drivers/md/dm-snap.c b/drivers/md/dm-snap.c index 6f758870fc19..a228c20e40b3 100644 --- a/drivers/md/dm-snap.c +++ b/drivers/md/dm-snap.c @@ -2176,7 +2176,6 @@ static int origin_merge(struct dm_target *ti, struct bvec_merge_data *bvm, return max_size; bvm->bi_bdev = dev->bdev; - bvm->bi_sector = bvm->bi_sector; return min(max_size, q->merge_bvec_fn(q, bvm, biovec)); }