]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Remove redundant bvm->bi_sector self-assignment in origin_merge().
authorAlasdair G Kergon <agk@redhat.com>
Tue, 24 Jul 2012 23:25:12 +0000 (09:25 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 24 Jul 2012 23:25:12 +0000 (09:25 +1000)
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-snap.c

index 6f758870fc19cf0e66db3055dab36ab96e038fee..a228c20e40b3ede663bc9c2402c9e1099df15fcc 100644 (file)
@@ -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));
 }